Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. [root@ny2lppuppet01 httpd]# cat /etc/puppet/puppet.conf
  2. ### File managed with puppet ###
  3. ## Module: 'puppet'
  4.  
  5. [main]
  6. # The Puppet log directory.
  7. # The default value is '$vardir/log'.
  8. logdir = /var/log/puppet
  9.  
  10. # Where Puppet PID files are kept.
  11. # The default value is '$vardir/run'.
  12. rundir = /var/run/puppet
  13.  
  14. # Where SSL certificates are kept.
  15. # The default value is '$confdir/ssl'.
  16. ssldir = $vardir/ssl
  17.  
  18. # Allow services in the 'puppet' group to access key (Foreman + proxy)
  19. privatekeydir = $ssldir/private_keys { group = service }
  20. hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
  21.  
  22. # Puppet 3.0.x requires this in both [main] and [master] - harmless on agents
  23. autosign = $confdir/autosign.conf { mode = 664 }
  24.  
  25. show_diff = true
  26.  
  27. hiera_config = $confdir/hiera.yaml
  28.  
  29. certificate_revocation = false
  30.  
  31. # definition of puppet master site and DNS resolvers
  32. dns_alt_names = ny2lppuppet01.ny2lppuppet01.nyc2.freshdirect.com
  33.  
  34. # Configuring pointer from master puppet server
  35. server = ny2lppuppet01.nyc2.freshdirect.com
  36.  
  37. #######################################################################
  38. ###################### Dedicated environment ##########################
  39. ###################### FreshDirect ##########################
  40. #######################################################################
  41.  
  42. #[stage]
  43. environmentpath = /etc/puppet/environments:/opt/puppet/environments/stage
  44. basemodulepath = /etc/puppet/modules:/opt/puppet/environments/common/modules:/opt/puppet/environments/production/modules:/opt/puppet/environments/stage/modules
  45. default_manifest = /opt/puppet/environments/stage/manifests
  46.  
  47. #[development]
  48. environmentpath = /etc/puppet/environments:/opt/puppet/environments/development
  49. basemodulepath = /etc/puppet/modules:/opt/puppet/environments/common/modules:/opt/puppet/environments/production/modules:/opt/puppet/environments/development/modules
  50. default_manifest = /opt/puppet/environments/development/manifests
  51.  
  52.  
  53. #[production]
  54. environmentpath = /etc/puppet/environments:/opt/puppet/environments/production
  55. basemodulepath = /etc/puppet/modules:/opt/puppet/environments/common/modules:/opt/puppet/environments/production/modules:/opt/puppet/environments/production/modules
  56. default_manifest = /opt/puppet/environments/production/manifests
  57. ### Next part of the file is managed by a different template ###
  58. ## Module: 'puppet'
  59.  
  60. [agent]
  61. # The file in which puppetd stores a list of the classes
  62. # associated with the retrieved configuration. Can be loaded in
  63. # the separate ``puppet`` executable using the ``--loadclasses``
  64. # option.
  65. # The default value is '$statedir/classes.txt'.
  66. classfile = $vardir/classes.txt
  67.  
  68. # Where puppetd caches the local configuration. An
  69. # extension indicating the cache format is added automatically.
  70. # The default value is '$confdir/localconfig'.
  71. localconfig = $vardir/localconfig
  72.  
  73. # Disable the default schedules as they cause continual skipped
  74. # resources to be displayed in Foreman - only for Puppet >= 3.4
  75. default_schedules = false
  76.  
  77. report = true
  78. pluginsync = true
  79. masterport = 8140
  80. environment = production
  81. certname = ny2lppuppet01.nyc2.freshdirect.com
  82. server = ny2lppuppet01.nyc2.freshdirect.com
  83. listen = false
  84. splay = false
  85. splaylimit = 600
  86. runinterval = 600
  87. noop = false
  88. configtimeout = 120
  89. usecacheonfailure = true
  90.  
  91. ### Next part of the file is managed by a different template ###
  92. ## Module: 'puppet'
  93.  
  94. [master]
  95. autosign = $confdir/autosign.conf { mode = 664 }
  96. reports = foreman
  97. external_nodes = /etc/puppet/node.rb
  98. node_terminus = exec
  99. ca = true
  100. ssldir = /var/lib/puppet/ssl
  101. certname = ny2lppuppet01.nyc2.freshdirect.com
  102. strict_variables = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement