Advertisement
Guest User

Untitled

a guest
Aug 11th, 2016
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  1. # hostname/puppetserver.yaml
  2. classes:
  3. - mcollective::middleware
  4. - mcollective::client
  5. # Middleware configuration
  6. mcollective::client_password: 'VpOS62qqpH3NEVEtP8rQsS2tpq6xwgOJEXsABjYDvoI='
  7. mcollective::middleware::keystore_password: 'k7Dj+On3xGmQPX7CuCxgXaOFwHZFdKICeQQFpWlzg6E='
  8. mcollective::middleware::truststore_password: 'k7Dj+On3xGmQPX7CuCxgXaOFwHZFdKICeQQFpWlzg6E='
  9.  
  10. ---
  11. puppet::status: 'running'
  12. puppet::enabled: true
  13.  
  14. # every node installs the server
  15. classes:
  16. - mcollective::server
  17. # The Puppet Server will host the middleware
  18. mcollective::hosts:
  19. - 'puppet.example.com'
  20. mcollective::collectives:
  21. - 'mcollective'
  22. mcollective::connector: 'activemq'
  23. mcollective::connector_ssl: true
  24. mcollective::connector_ssl_type: 'anonymous'
  25. # Access passwords
  26. mcollective::server_password: 'h3Vh7JGGkyWxuehCvScXRwZmIZYRHtDDDxuS1W68XAQ='
  27. mcollective::psk_key: 'y2Z2BzcsRFXCBidywQafyJoELH5bIkmZzXGssLLMVsw='
  28. mcollective::facts::cronjob::run_every: 10
  29. mcollective::server::package_ensure: 'latest'
  30. mcollective::plugin::agents:
  31. puppet:
  32. version: 'latest'
  33. mcollective::client::unix_group: vagrant
  34. mcollective::client::package_ensure: 'latest'
  35. mcollective::plugin::clients:
  36. puppet:
  37. version: 'latest'
  38.  
  39. # /etc/mcollective/server.cfg
  40. libdir = /usr/libexec/mcollective
  41. libdir = /opt/puppetlabs/mcollective/plugins
  42. classesfile = /opt/puppetlabs/puppet/cache/state/classes.txt
  43. daemonize = 1
  44. direct_addressing = 1
  45. main_collective = mcollective
  46. collectives = mcollective
  47.  
  48. # ActiveMQ connector settings:
  49. connector = activemq
  50. plugin.activemq.heartbeat_interval = 30
  51. plugin.activemq.pool.size = 1
  52. plugin.activemq.pool.1.host = puppet.example.com
  53. plugin.activemq.pool.1.port = 61614
  54. plugin.activemq.pool.1.user = server
  55. plugin.activemq.pool.1.password = h3Vh7JGGkyWxuehCvScXRwZmIZYRHtDDDxuS1W68XAQ=
  56. plugin.activemq.pool.1.ssl = true
  57. plugin.activemq.pool.1.ssl.fallback = true
  58.  
  59. # Send these messages to keep the Stomp connection alive.
  60. # This solves NAT and firewall timeout problems.
  61. registerinterval = 600
  62.  
  63. # Security provider
  64. securityprovider = psk
  65. plugin.psk = y2Z2BzcsRFXCBidywQafyJoELH5bIkmZzXGssLLMVsw=
  66.  
  67. # Facts
  68. factsource = yaml
  69. plugin.yaml = /etc/puppetlabs/mcollective/facts.yaml
  70.  
  71. # Puppet resource control
  72. plugin.puppet.resource_allow_managed_resources = true
  73. plugin.puppet.resource_type_whitelist = none
  74.  
  75. # Logging
  76. logger_type = syslog
  77. loglevel = info
  78. logfacility = user
  79.  
  80. # Connector
  81. libdir = /usr/libexec/mcollective
  82. libdir = /opt/puppetlabs/mcollective/plugins
  83. direct_addressing = 1
  84. main_collective = mcollective
  85. collectives = mcollective
  86.  
  87. connector = activemq
  88. plugin.activemq.heartbeat_interval = 30
  89. plugin.activemq.pool.size = 1
  90. plugin.activemq.pool.1.host = puppet.example.com
  91. plugin.activemq.pool.1.port = 61614
  92. plugin.activemq.pool.1.user = client
  93. plugin.activemq.pool.1.password = VpOS62qqpH3NEVEtP8rQsS2tpq6xwgOJEXsABjYDvoI=
  94. plugin.activemq.pool.1.ssl = true
  95. plugin.activemq.pool.1.ssl.fallback = true
  96.  
  97. # Security provider
  98. securityprovider = psk
  99. plugin.psk = y2Z2BzcsRFXCBidywQafyJoELH5bIkmZzXGssLLMVsw=
  100. plugin.psk.callertype = uid
  101.  
  102. # Discovery
  103. default_discovery_method = mc
  104. direct_addressing_threshold = 10
  105. default_discovery_options =
  106.  
  107. # Miscellaneous settings
  108. color = 1
  109. rpclimitmethod = first
  110.  
  111. # Performance settings
  112. direct_addressing_threshold = 10
  113. ttl = 60
  114.  
  115. # Logging
  116. logger_type = console
  117. loglevel = warn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement