mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 10:55:00 +01:00
Because of odd packaging decisions at Puppet Inc, the lsb_release tool is required on Puppet 6 for the distro facts. It's not in the Ubuntu18 base package.
6 lines
251 B
Puppet
6 lines
251 B
Puppet
# Needed for os.distro.codebase fact on ubuntu 18 on puppet 6
|
|
if $facts['os']['name'] == 'Ubuntu' and $facts['os']['release']['full'] == '18.04' and versioncmp($facts['puppetversion'], '7') <= 0 {
|
|
package{'lsb-release':
|
|
ensure => present,
|
|
}
|
|
}
|