Merge "Add cfacter to puppet3 nodes"
This commit is contained in:
commit
50e0cfc6fb
@ -279,10 +279,12 @@ class openstack_project::template (
|
||||
'2.7.': {
|
||||
$pin_facter = '1.'
|
||||
$pin_puppetdb = '1.'
|
||||
$cfacter = false
|
||||
}
|
||||
/^3\./: {
|
||||
$pin_facter = '2.'
|
||||
$pin_puppetdb = '2.'
|
||||
$cfacter = true
|
||||
}
|
||||
default: {
|
||||
fail("Puppet version not supported")
|
||||
@ -305,6 +307,12 @@ class openstack_project::template (
|
||||
|
||||
}
|
||||
|
||||
if $cfacter {
|
||||
package { 'cfacter':
|
||||
ensure => latest,
|
||||
}
|
||||
}
|
||||
|
||||
# Which Puppet do I take?
|
||||
# Take $puppet_version and pin to that version
|
||||
if ($::osfamily == 'Debian') {
|
||||
|
Loading…
Reference in New Issue
Block a user