view manifests/site.pp @ 246:c3fa3d65aa83

Update configs for Puppet 6 This *should* all be backward compatible
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Dec 2019 14:19:47 -0500
parents e3aeb8761950
children ea72ea1f7320
line wrap: on
line source

Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" }

if versioncmp($::puppetversion, '3.6.1') >= 0 {
	$allow_virtual_packages = hiera('allow_virtual_packages', false)

	Package {
		allow_virtual => $allow_virtual_packages,
	}
}