Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. client:
  2. # cat /etc/puppet/puppet.conf
  3. [main]
  4. # Where Puppet stores dynamic and growing data.
  5. # The default value is '/var/puppet'.
  6. vardir = /var/lib/puppet
  7.  
  8. # The Puppet log directory.
  9. # The default value is '$vardir/log'.
  10. logdir = /var/log/puppet
  11.  
  12. # Where Puppet PID files are kept.
  13. # The default value is '$vardir/run'.
  14. rundir = /var/run/puppet
  15.  
  16. # Where SSL certificates are kept.
  17. # The default value is '$confdir/ssl'.
  18. ssldir = $vardir/ssl
  19. pluginsync = true
  20. factpath = $vardir/lib/facter
  21.  
  22. [puppetd]
  23. # The file in which puppetd stores a list of the classes
  24. # associated with the retrieved configuratiion. Can be loaded in
  25. # the separate ``puppet`` executable using the ``--loadclasses``
  26. # option.
  27. # The default value is '$confdir/classes.txt'.
  28. classfile = $vardir/classes.txt
  29.  
  30. # Where puppetd caches the local configuration. An
  31. # extension indicating the cache format is added automatically.
  32. # The default value is '$confdir/localconfig'.
  33. localconfig = $vardir/localconfig
  34.  
  35.  
  36. master:
  37. # service puppetmaster restart
  38. Stopping puppetmaster: [ OK ]
  39. Starting puppetmaster: [ OK ]
  40. # cat /etc/puppet/puppet.conf
  41. [main]
  42. # Where Puppet stores dynamic and growing data.
  43. # The default value is '/var/puppet'.
  44. vardir = /var/lib/puppet
  45.  
  46. # The Puppet log directory.
  47. # The default value is '$vardir/log'.
  48. logdir = /var/log/puppet
  49.  
  50. # Where Puppet PID files are kept.
  51. # The default value is '$vardir/run'.
  52. rundir = /var/run/puppet
  53.  
  54. # Where SSL certificates are kept.
  55. # The default value is '$confdir/ssl'.
  56. ssldir = $vardir/ssl
  57.  
  58. pluginsync = true
  59. factpath = $vardir/lib/facter
  60.  
  61. [puppetd]
  62. # The file in which puppetd stores a list of the classes
  63. # associated with the retrieved configuratiion. Can be loaded in
  64. # the separate ``puppet`` executable using the ``--loadclasses``
  65. # option.
  66. # The default value is '$confdir/classes.txt'.
  67. classfile = $vardir/classes.txt
  68.  
  69. # Where puppetd caches the local configuration. An
  70. # extension indicating the cache format is added automatically.
  71. # The default value is '$confdir/localconfig'.
  72. localconfig = $vardir/localconfig
  73. report = true
  74.  
  75. [production]
  76. manifest = /etc/puppet/manifests/production/site.pp
  77. modulepath = /etc/puppet/modules/production
  78.  
  79. [development]
  80. manifest = /etc/puppet/manifests/development/site.pp
  81. modulepath = /etc/puppet/modules/development
  82.  
  83. [puppetmasterd]
  84. storeconfigs = true
  85. dbadapter = mysql
  86. dbuser = puppet
  87. dbname = puppet_prod
  88. dbpassword = zzz
  89. dbserver = zzz
  90. dbsocket = /var/run/mysqld/mysql.sock
  91. modulepath = /etc/puppet/modules
  92.  
  93. # cat /etc/puppet/fileserver.conf
  94.  
  95. # This file consists of arbitrarily named sections/modules
  96. # defining where files are served from and to whom
  97.  
  98. # Define a section 'files'
  99. # Adapt the allow/deny settings to your needs. Order
  100. # for allow/deny does not matter, allow always takes precedence
  101. # over deny
  102. [production]
  103. path /etc/puppet/files/production
  104. allow *
  105. [development]
  106. path /etc/puppet/files/development
  107. allow *
  108. #
  109.  
  110. location of custom facter module file on master:
  111. /etc/puppet/modules/custom/lib/facter/clamav_version.rb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement