Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- master:
- # service puppetmaster restart
- Stopping puppetmaster: [ OK ]
- Starting puppetmaster: [ OK ]
- # cat /etc/puppet/puppet.conf
- [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
- pluginsync = true
- factpath = $vardir/lib/facter
- [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
- report = true
- [production]
- manifest = /etc/puppet/manifests/production/site.pp
- modulepath = /etc/puppet/modules/production
- [development]
- manifest = /etc/puppet/manifests/development/site.pp
- modulepath = /etc/puppet/modules/development
- [puppetmasterd]
- storeconfigs = true
- dbadapter = mysql
- dbuser = puppet
- dbname = puppet_prod
- dbpassword = zzz
- dbserver = zzz
- dbsocket = /var/run/mysqld/mysql.sock
- modulepath = /etc/puppet/modules
- # cat /etc/puppet/fileserver.conf
- # This file consists of arbitrarily named sections/modules
- # defining where files are served from and to whom
- # Define a section 'files'
- # Adapt the allow/deny settings to your needs. Order
- # for allow/deny does not matter, allow always takes precedence
- # over deny
- [production]
- path /etc/puppet/files/production
- allow *
- [development]
- path /etc/puppet/files/development
- allow *
- #
- location of custom facter module file on master:
- /etc/puppet/modules/custom/lib/facter/clamav_version.rb
- client:
- # cat /etc/puppet/puppet.conf
- [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
- pluginsync = true
- factpath = $vardir/lib/facter
- [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
- # /usr/sbin/puppetd --server puppetmaster --environment=production --report --test
- info: Retrieving plugins
- err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: None of the provided sources exist
- err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: No specified source was found from puppet://puppetmaster/plugins
- info: Caching catalog at /var/lib/puppet/localconfig.yaml
- notice: Starting catalog run
- info: Sent transaction report in 0.12 seconds
- notice: Finished catalog run in 19.40 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement