Advertisement
Guest User

Untitled

a guest
Jun 13th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. [root@foreman foreman]# rpm -qa puppet-server
  2. puppet-server-3.2.1-1.el6.noarch
  3.  
  4. [root@foreman foreman]# cat /usr/share/foreman/config.ru
  5. # This file is used by Rack-based servers to start the application.
  6.  
  7. require ::File.expand_path('../config/environment', __FILE__)
  8. # apply a prefix to the application, if one is defined
  9. # e.g. http://some.server.com/prefix where '/prefix' is defined by env variable
  10. map ENV['RAILS_RELATIVE_URL_ROOT'] || '/' do
  11. run Foreman::Application
  12. end
  13.  
  14. # cat /etc/puppet/puppet.conf
  15. ### File managed with puppet ###
  16. ## Served by: ''
  17. ## Module: 'puppet'
  18. ## Template source: 'MODULES/puppet/templates/puppet.conf.erb'
  19.  
  20. [main]
  21. # The Puppet log directory.
  22. # The default value is '$vardir/log'.
  23. logdir = /var/log/puppet
  24.  
  25. # Where Puppet PID files are kept.
  26. # The default value is '$vardir/run'.
  27. rundir = /var/run/puppet
  28.  
  29. # Where SSL certificates are kept.
  30. # The default value is '$confdir/ssl'.
  31. ssldir = $vardir/ssl
  32.  
  33. # Allow services in the 'puppet' group to access key (Foreman + proxy)
  34. privatekeydir = $ssldir/private_keys { group = service }
  35. hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
  36.  
  37. # Puppet 3.0.x requires this in both [main] and [master] - harmless on agents
  38. autosign = $confdir/autosign.conf { mode = 664 }
  39.  
  40. [agent]
  41. # The file in which puppetd stores a list of the classes
  42. # associated with the retrieved configuratiion. Can be loaded in
  43. # the separate ``puppet`` executable using the ``--loadclasses``
  44. # option.
  45. # The default value is '$confdir/classes.txt'.
  46. classfile = $vardir/classes.txt
  47.  
  48. # Where puppetd caches the local configuration. An
  49. # extension indicating the cache format is added automatically.
  50. # The default value is '$confdir/localconfig'.
  51. localconfig = $vardir/localconfig
  52. report = true
  53. pluginsync = true
  54. masterport = 8140
  55. environment = production
  56. certname = foreman.collmedia.net
  57. server = foreman.collmedia.net
  58. listen = false
  59. ### Next part of the file is managed by a different template ###
  60. ## Module: 'puppet'
  61. ## Template source: 'MODULES/puppet/templates/server/puppet.conf.erb'
  62.  
  63. [master]
  64. autosign = $confdir/autosign.conf { mode = 664 }
  65. reports = foreman
  66. external_nodes = /etc/puppet/node.rb
  67. node_terminus = exec
  68. ca = true
  69. [development]
  70. modulepath = /etc/puppet/modules/development:/etc/puppet/modules/common:/usr/share/puppet/modules
  71. [production]
  72. modulepath = /etc/puppet/modules/production:/etc/puppet/modules/common:/usr/share/puppet/modules
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement