view manifests/site.pp @ 19:e3aeb8761950 puppet-3.6

Prevent warning by setting a value for allow_virtual (when we need it)
author IBBoard <dev@ibboard.co.uk>
date Sun, 08 Mar 2015 20:47:27 +0000
parents 956e484adc12
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,
	}
}