Ensure /etc/nova exists before creating secret.xml
Without declaring a dependency, secret.xml can be created before the folder is created through the installation of the nova packages. Closes-bug: #1458628 Change-Id: I0b9aec13866e4e334bcaf967192b2bc310ae20fb
This commit is contained in:
@@ -74,7 +74,8 @@ class nova::compute::rbd (
|
||||
}
|
||||
|
||||
file { '/etc/nova/secret.xml':
|
||||
content => template('nova/secret.xml-compute.erb')
|
||||
content => template('nova/secret.xml-compute.erb'),
|
||||
require => Class['::nova']
|
||||
}
|
||||
|
||||
exec { 'get-or-set virsh secret':
|
||||
|
Reference in New Issue
Block a user