Mercurial > repos > other > Puppet
comparison puppet.conf.template @ 307:ab3b392982df
Move puppet.conf out of version control now host names need to be correct
Each host will need to copy and edit the file, e.g.:
sudo cp puppet.conf.template puppet.conf
sudo sed -i "s/localhost/$(hostname)/g" puppet.conf
Note: We could do this in a one-liner, but it'd require tee and
dev-null-ing output
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 22 Feb 2020 17:07:15 +0000 |
parents | puppet.conf@956e484adc12 |
children |
comparison
equal
deleted
inserted
replaced
306:894390fdd6d7 | 307:ab3b392982df |
---|---|
1 [main] | |
2 # The Puppet log directory. | |
3 # The default value is '$vardir/log'. | |
4 logdir = /var/log/puppet | |
5 | |
6 # Where Puppet PID files are kept. | |
7 # The default value is '$vardir/run'. | |
8 rundir = /var/run/puppet | |
9 | |
10 # Where SSL certificates are kept. | |
11 # The default value is '$confdir/ssl'. | |
12 ssldir = $vardir/ssl | |
13 | |
14 server = localhost | |
15 certname = localhost | |
16 | |
17 [agent] | |
18 # The file in which puppetd stores a list of the classes | |
19 # associated with the retrieved configuratiion. Can be loaded in | |
20 # the separate ``puppet`` executable using the ``--loadclasses`` | |
21 # option. | |
22 # The default value is '$confdir/classes.txt'. | |
23 classfile = $vardir/classes.txt | |
24 | |
25 # Where puppetd caches the local configuration. An | |
26 # extension indicating the cache format is added automatically. | |
27 # The default value is '$confdir/localconfig'. | |
28 localconfig = $vardir/localconfig | |
29 | |
30 [master] | |
31 | |
32 bindaddress = 127.0.0.1 |