Do not hardcode nova user/group in each manifests
... but refer to nova::params so that we can centralize definition of nova user and group on host OS. Change-Id: Ic9027ebbc79702d5405448bfbd5bc4cd869db3fd
This commit is contained in:
parent
8ab07ef0a5
commit
4324be05d6
|
@ -628,8 +628,8 @@ Use nova::compute::block_device_allocate_retries_interval instead')
|
|||
file { '/var/lib/nova/.ssh':
|
||||
ensure => directory,
|
||||
mode => '0700',
|
||||
owner => 'nova',
|
||||
group => 'nova',
|
||||
owner => $::nova::params::nova_user,
|
||||
group => $::nova::params::nova_group,
|
||||
require => Anchor['nova::config::begin'],
|
||||
before => Anchor['nova::config::end'],
|
||||
}
|
||||
|
@ -668,8 +668,8 @@ but should be one of: ssh-rsa, ssh-dsa, ssh-ecdsa.")
|
|||
file { $nova_private_key_file:
|
||||
content => $nova_private_key[key],
|
||||
mode => '0600',
|
||||
owner => 'nova',
|
||||
group => 'nova',
|
||||
owner => $::nova::params::nova_user,
|
||||
group => $::nova::params::nova_group,
|
||||
require => File['/var/lib/nova/.ssh'],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue