Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- config without environments start --
- [main]
- # Where Puppet stores dynamic and growing data.
- # The default value is '/var/puppet'.
- vardir = /var/lib/puppet
- # The Puppet log directory.
- # The default value is '$vardir/log'.
- logdir = /var/log/puppet
- # Where Puppet PID files are kept.
- # The default value is '$vardir/run'.
- rundir = /var/run/puppet
- # Where SSL certificates are kept.
- # The default value is '$confdir/ssl'.
- ssldir = $vardir/ssl
- # environments = testing
- [puppetd]
- # The file in which puppetd stores a list of the classes
- # associated with the retrieved configuratiion. Can be loaded in
- # the separate ``puppet`` executable using the ``--loadclasses``
- # option.
- # The default value is '$confdir/classes.txt'.
- classfile = $vardir/classes.txt
- # Where puppetd caches the local configuration. An
- # extension indicating the cache format is added automatically.
- # The default value is '$confdir/localconfig'.
- localconfig = $vardir/localconfig
- [puppetmasterd]
- ssl_client_header = SSL_CLIENT_S_DN
- ssl_client_verify_header = SSL_CLIENT_VERIFY
- certificate_revocation = false
- # environments = production,testing
- external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py
- node_terminus = exec
- #[production]
- # manifest = /srv/puppet/production/site.pp
- # modulepath = /srv/puppet/production/modules:/srv/puppet/production/clients
- #[testing]
- # manifest = /srv/puppet/testing/site.pp
- # modulepath = /srv/puppet/testing/modules
- [root@puppetmaster ~]# puppetmasterd --no-daemonize --configprint all|grep -i external
- external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py
- -- config without environments end --
- -- config with environments start --
- [main]
- # Where Puppet stores dynamic and growing data.
- # The default value is '/var/puppet'.
- vardir = /var/lib/puppet
- # The Puppet log directory.
- # The default value is '$vardir/log'.
- logdir = /var/log/puppet
- # Where Puppet PID files are kept.
- # The default value is '$vardir/run'.
- rundir = /var/run/puppet
- # Where SSL certificates are kept.
- # The default value is '$confdir/ssl'.
- ssldir = $vardir/ssl
- environments = testing
- [puppetd]
- # The file in which puppetd stores a list of the classes
- # associated with the retrieved configuratiion. Can be loaded in
- # the separate ``puppet`` executable using the ``--loadclasses``
- # option.
- # The default value is '$confdir/classes.txt'.
- classfile = $vardir/classes.txt
- # Where puppetd caches the local configuration. An
- # extension indicating the cache format is added automatically.
- # The default value is '$confdir/localconfig'.
- localconfig = $vardir/localconfig
- [puppetmasterd]
- ssl_client_header = SSL_CLIENT_S_DN
- ssl_client_verify_header = SSL_CLIENT_VERIFY
- certificate_revocation = false
- environments = testing
- external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py
- node_terminus = exec
- #[production]
- # manifest = /srv/puppet/production/site.pp
- # modulepath = /srv/puppet/production/modules:/srv/puppet/production/clients
- [testing]
- manifest = /srv/puppet/testing/site.pp
- modulepath = /srv/puppet/testing/modules
- [root@puppetmaster ~]# puppetmasterd --no-daemonize --configprint all|grep -i external
- external_nodes = none
- -- config with environments end --
- -- puppetclient config start --
- [root@puppetclient lib]# puppetd --configprint all|grep -i ldap
- ldapattrs = all
- ldapbase = ""
- ldapclassattrs = puppetclass
- ldapnodes = false
- ldapparentattr = parentnode
- ldappassword = ""
- ldapport = 389
- ldapserver = ldap
- ldapssl = false
- ldapstackedattrs = puppetvar
- ldapstring = (&(objectclass=puppetClient)(cn=%s))
- ldaptls = false
- ldapuser = ""
- -- puppetclient config end --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement