Mercurial > repos > other > Puppet
annotate manifests/site.pp @ 100:fd3446c3b7b9 puppet-3.6
Set up a recursive localhost-only Bind server (assuming RH's safe and sane default configs)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 24 Feb 2016 20:21:44 +0000 |
parents | e3aeb8761950 |
children | ea72ea1f7320 |
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 } |