Workaround for fuel-library bug
https://bugs.launchpad.net/fuel/+bug/1598163 Change-Id: Ie9b6afc39395437c0bc85eada9bd24725b13159c
This commit is contained in:
parent
babf22fb11
commit
8636535f4e
|
@ -16,3 +16,11 @@ file { "${hiera_dir}/${plugin_yaml}":
|
|||
ensure => file,
|
||||
content => template('plugin_cinder_netapp/cinder_netapp.yaml.erb'),
|
||||
}
|
||||
|
||||
# Workaround for bug 1598163
|
||||
exec { 'patch_puppet_bug_1598163':
|
||||
path => '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
|
||||
cwd => '/etc/puppet/modules/osnailyfacter/manifests/globals',
|
||||
command => "sed -i \"s/hiera('storage/hiera_hash('storage/\" globals.pp",
|
||||
onlyif => "grep \"hiera('storage\" globals.pp"
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
version: 2.1.0
|
||||
groups: [primary-controller]
|
||||
requires: [hiera]
|
||||
required_for: [create-cinder-types]
|
||||
required_for: [globals, create-cinder-types]
|
||||
parameters:
|
||||
puppet_manifest: puppet/manifests/hiera_override.pp
|
||||
puppet_modules: puppet/modules:/etc/puppet/modules
|
||||
|
|
Loading…
Reference in New Issue