Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@ny2lppuppet01 httpd]# cat /etc/puppet/puppet.conf
- ### File managed with puppet ###
- ## Module: 'puppet'
- [main]
- # 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
- # Allow services in the 'puppet' group to access key (Foreman + proxy)
- privatekeydir = $ssldir/private_keys { group = service }
- hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
- # Puppet 3.0.x requires this in both [main] and [master] - harmless on agents
- autosign = $confdir/autosign.conf { mode = 664 }
- show_diff = true
- hiera_config = $confdir/hiera.yaml
- certificate_revocation = false
- # definition of puppet master site and DNS resolvers
- dns_alt_names = ny2lppuppet01.ny2lppuppet01.nyc2.freshdirect.com
- # Configuring pointer from master puppet server
- server = ny2lppuppet01.nyc2.freshdirect.com
- #######################################################################
- ###################### Dedicated environment ##########################
- ###################### FreshDirect ##########################
- #######################################################################
- #[stage]
- environmentpath = /etc/puppet/environments:/opt/puppet/environments/stage
- basemodulepath = /etc/puppet/modules:/opt/puppet/environments/common/modules:/opt/puppet/environments/production/modules:/opt/puppet/environments/stage/modules
- default_manifest = /opt/puppet/environments/stage/manifests
- #[development]
- environmentpath = /etc/puppet/environments:/opt/puppet/environments/development
- basemodulepath = /etc/puppet/modules:/opt/puppet/environments/common/modules:/opt/puppet/environments/production/modules:/opt/puppet/environments/development/modules
- default_manifest = /opt/puppet/environments/development/manifests
- #[production]
- environmentpath = /etc/puppet/environments:/opt/puppet/environments/production
- basemodulepath = /etc/puppet/modules:/opt/puppet/environments/common/modules:/opt/puppet/environments/production/modules:/opt/puppet/environments/production/modules
- default_manifest = /opt/puppet/environments/production/manifests
- ### Next part of the file is managed by a different template ###
- ## Module: 'puppet'
- [agent]
- # The file in which puppetd stores a list of the classes
- # associated with the retrieved configuration. Can be loaded in
- # the separate ``puppet`` executable using the ``--loadclasses``
- # option.
- # The default value is '$statedir/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
- # Disable the default schedules as they cause continual skipped
- # resources to be displayed in Foreman - only for Puppet >= 3.4
- default_schedules = false
- report = true
- pluginsync = true
- masterport = 8140
- environment = production
- certname = ny2lppuppet01.nyc2.freshdirect.com
- server = ny2lppuppet01.nyc2.freshdirect.com
- listen = false
- splay = false
- splaylimit = 600
- runinterval = 600
- noop = false
- configtimeout = 120
- usecacheonfailure = true
- ### Next part of the file is managed by a different template ###
- ## Module: 'puppet'
- [master]
- autosign = $confdir/autosign.conf { mode = 664 }
- reports = foreman
- external_nodes = /etc/puppet/node.rb
- node_terminus = exec
- ca = true
- ssldir = /var/lib/puppet/ssl
- certname = ny2lppuppet01.nyc2.freshdirect.com
- strict_variables = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement