Precreate neutron related directories
Puppet type `override_resources' changed its behaviour to the following: it creates resources that are defined in `configuration' value of hiera. This breaks current plugin deployment following way: plugin overrides `configuration' in its own `/etc/hiera/plugins/opendaylight.yaml` file. `override_resource' gets called before `neutron' package gets installed it tries to write values from opendaylight.yaml to directories that are missing (`neutron-server' package is not installed). Change-Id: I8ccb4bfe8e788cd171bafde125903d91aa31b59e Partial-bug: #1648349
This commit is contained in:
parent
0574e57f39
commit
8205f8c827
|
@ -14,4 +14,12 @@ class opendaylight::hiera_override {
|
|||
$network_scheme,
|
||||
hiera('management_vip')
|
||||
)
|
||||
|
||||
$neutron_dirs = [ '/etc/neutron/', '/etc/neutron/plugins', '/etc/neutron/plugins/ml2' ]
|
||||
file { $neutron_dirs:
|
||||
ensure => directory,
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => 0644,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue