annotate manifests/site.pp @ 110:be2b30b17a4c puppet-3.6

Switch to PHP 7 from Webtatic FIXME: Might as well drop support for CentOS 6 as I don't test it any more
author IBBoard <dev@ibboard.co.uk>
date Tue, 31 May 2016 22:02:15 +0100
parents e3aeb8761950
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 }