Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@foreman foreman]# rpm -qa puppet-server
- puppet-server-3.2.1-1.el6.noarch
- [root@foreman foreman]# cat /usr/share/foreman/config.ru
- # This file is used by Rack-based servers to start the application.
- require ::File.expand_path('../config/environment', __FILE__)
- # apply a prefix to the application, if one is defined
- # e.g. http://some.server.com/prefix where '/prefix' is defined by env variable
- map ENV['RAILS_RELATIVE_URL_ROOT'] || '/' do
- run Foreman::Application
- end
- # cat /etc/puppet/puppet.conf
- ### File managed with puppet ###
- ## Served by: ''
- ## Module: 'puppet'
- ## Template source: 'MODULES/puppet/templates/puppet.conf.erb'
- [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 }
- [agent]
- # 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
- pluginsync = true
- masterport = 8140
- environment = production
- certname = foreman.collmedia.net
- server = foreman.collmedia.net
- listen = false
- ### Next part of the file is managed by a different template ###
- ## Module: 'puppet'
- ## Template source: 'MODULES/puppet/templates/server/puppet.conf.erb'
- [master]
- autosign = $confdir/autosign.conf { mode = 664 }
- reports = foreman
- external_nodes = /etc/puppet/node.rb
- node_terminus = exec
- ca = true
- [development]
- modulepath = /etc/puppet/modules/development:/etc/puppet/modules/common:/usr/share/puppet/modules
- [production]
- modulepath = /etc/puppet/modules/production:/etc/puppet/modules/common:/usr/share/puppet/modules
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement