Hello, Everybody!
I need to allow my developers to run a special script on QA servers and
nowhere else. I put this sort of thing in place:
class app-server {
packages: foo:; bar:; baz:;
if $environment == 'qa' {
file {
'a':
content => ...
}
}
which feels kinda kludgey
As I understand the proper use of "environments", you would have a separate
definition of the class for QA.
>From puppet,conf:
[main]
certname = 'puppetmaster.example.com'
# The Puppet log directory.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
rundir =