annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
1 Exec { path => "/usr/bin:/usr/sbin/:/bin:/sbin" }
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
2
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
3 if versioncmp($::puppetversion, '3.6.1') >= 0 {
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
4 $allow_virtual_packages = hiera('allow_virtual_packages', false)
0
956e484adc12 Initial public release of Puppet configs
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5
19
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
6 Package {
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
7 allow_virtual => $allow_virtual_packages,
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
8 }
e3aeb8761950 Prevent warning by setting a value for allow_virtual (when we need it)
IBBoard <dev@ibboard.co.uk>
parents: 0
diff changeset
9 }