Advertisement
Guest User

Untitled

a guest
Jun 4th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 4.02 KB | None | 0 0
  1. -- config without environments start --
  2. [main]
  3.     # Where Puppet stores dynamic and growing data.
  4.     # The default value is '/var/puppet'.
  5.     vardir = /var/lib/puppet
  6.  
  7.     # The Puppet log directory.
  8.     # The default value is '$vardir/log'.
  9.     logdir = /var/log/puppet
  10.  
  11.     # Where Puppet PID files are kept.
  12.     # The default value is '$vardir/run'.
  13.     rundir = /var/run/puppet
  14.  
  15.     # Where SSL certificates are kept.
  16.     # The default value is '$confdir/ssl'.
  17.     ssldir = $vardir/ssl
  18.  
  19. #    environments = testing
  20.  
  21.  
  22. [puppetd]
  23.     # The file in which puppetd stores a list of the classes
  24.     # associated with the retrieved configuratiion.  Can be loaded in
  25.     # the separate ``puppet`` executable using the ``--loadclasses``
  26.     # option.
  27.     # The default value is '$confdir/classes.txt'.
  28.     classfile = $vardir/classes.txt
  29.  
  30.     # Where puppetd caches the local configuration.  An
  31.     # extension indicating the cache format is added automatically.
  32.     # The default value is '$confdir/localconfig'.
  33.     localconfig = $vardir/localconfig
  34.  
  35. [puppetmasterd]
  36.     ssl_client_header = SSL_CLIENT_S_DN
  37.     ssl_client_verify_header = SSL_CLIENT_VERIFY
  38.     certificate_revocation = false
  39.  
  40. #    environments = production,testing
  41.  
  42.     external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py
  43.     node_terminus = exec
  44.  
  45. #[production]
  46. #        manifest = /srv/puppet/production/site.pp
  47. #        modulepath = /srv/puppet/production/modules:/srv/puppet/production/clients
  48.  
  49. #[testing]
  50. #    manifest = /srv/puppet/testing/site.pp
  51. #    modulepath = /srv/puppet/testing/modules
  52.  
  53.  
  54. [root@puppetmaster ~]# puppetmasterd --no-daemonize --configprint all|grep -i external
  55. external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py
  56.  
  57. -- config without environments end --
  58.  
  59.  
  60. -- config with environments start --
  61.  
  62. [main]
  63.     # Where Puppet stores dynamic and growing data.
  64.     # The default value is '/var/puppet'.
  65.     vardir = /var/lib/puppet
  66.  
  67.     # The Puppet log directory.
  68.     # The default value is '$vardir/log'.
  69.     logdir = /var/log/puppet
  70.  
  71.     # Where Puppet PID files are kept.
  72.     # The default value is '$vardir/run'.
  73.     rundir = /var/run/puppet
  74.  
  75.     # Where SSL certificates are kept.
  76.     # The default value is '$confdir/ssl'.
  77.     ssldir = $vardir/ssl
  78.  
  79.     environments = testing
  80.  
  81.  
  82. [puppetd]
  83.     # The file in which puppetd stores a list of the classes
  84.     # associated with the retrieved configuratiion.  Can be loaded in
  85.     # the separate ``puppet`` executable using the ``--loadclasses``
  86.     # option.
  87.     # The default value is '$confdir/classes.txt'.
  88.     classfile = $vardir/classes.txt
  89.  
  90.     # Where puppetd caches the local configuration.  An
  91.     # extension indicating the cache format is added automatically.
  92.     # The default value is '$confdir/localconfig'.
  93.     localconfig = $vardir/localconfig
  94.  
  95. [puppetmasterd]
  96.     ssl_client_header = SSL_CLIENT_S_DN
  97.     ssl_client_verify_header = SSL_CLIENT_VERIFY
  98.     certificate_revocation = false
  99.  
  100.     environments = testing
  101.  
  102.     external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py
  103.     node_terminus = exec
  104.  
  105. #[production]
  106. #        manifest = /srv/puppet/production/site.pp
  107. #        modulepath = /srv/puppet/production/modules:/srv/puppet/production/clients
  108.  
  109. [testing]
  110.     manifest = /srv/puppet/testing/site.pp
  111.     modulepath = /srv/puppet/testing/modules
  112.  
  113.  
  114. [root@puppetmaster ~]# puppetmasterd --no-daemonize --configprint all|grep -i external
  115. external_nodes = none
  116.  
  117. -- config with environments end --
  118.  
  119. -- puppetclient config start --
  120. [root@puppetclient lib]# puppetd --configprint all|grep -i ldap
  121. ldapattrs = all
  122. ldapbase = ""
  123. ldapclassattrs = puppetclass
  124. ldapnodes = false
  125. ldapparentattr = parentnode
  126. ldappassword = ""
  127. ldapport = 389
  128. ldapserver = ldap
  129. ldapssl = false
  130. ldapstackedattrs = puppetvar
  131. ldapstring = (&(objectclass=puppetClient)(cn=%s))
  132. ldaptls = false
  133. ldapuser = ""
  134. -- puppetclient config end --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement