Skip to content
Snippets Groups Projects
Verified Commit 22a82b03 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

puppet-backend alternative stuff

parent 071020fe
No related branches found
No related tags found
1 merge request!7Puppet5 lonlone
...@@ -84,6 +84,23 @@ class base::os::debian ( ...@@ -84,6 +84,23 @@ class base::os::debian (
'stanford-server': ensure => present; 'stanford-server': ensure => present;
} }
# This next stanza uses the PuppetForge module puppet/alternatives to
# set the correct puppet-backend script.
case $facts['os']['distro']['codename'] {
'wheezy', 'jessie': {
alternatives { 'puppet-backend':
path => '/usr/sbin/puppet-backend3',
require => Package['stanford-server'],
}
}
default: {
alternatives { 'puppet-backend':
path => '/usr/sbin/puppet-backend5',
require => Package['stanford-server'],
}
}
}
# libstdc++5 and smbios-utils are required for Dell firmware updates, so # libstdc++5 and smbios-utils are required for Dell firmware updates, so
# install them on physical machines. # install them on physical machines.
if $::virtual == 'vmware' { if $::virtual == 'vmware' {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment