view manifests/site.pp @ 95:0ea0825ba847 puppet-3.6

Make sure that we don't get Yum just emailing us "I updated my metadata for the repos"
author IBBoard <dev@ibboard.co.uk>
date Sun, 24 Jan 2016 20:11:51 +0000
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,
	}
}