Skip to content

100% free range, organic, pesticide free Puppet module for managing Puppet

Notifications You must be signed in to change notification settings

guruHub/puppet-puppet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet-puppet

100% free range, organic, pesticide free Puppet module for managing Puppet.

Usage

Puppetmaster

At an absolute minimum, you need the following.

class { "puppet::server":
  servertype   => 'standalone',
  manifest     => '/etc/puppet/manifests/site.pp',
  ca           => true,
}

This should get you a puppetmaster running under webrick which might scale to about 10 nodes if the wind doesn't blow too hard.

If, however, the moon is in the next phase then you probably want to use something that scales a bit more.

class service::puppet::master($servertype, $ca = false) {

  $modulepath = hiera_array('puppet_modulepath')

  class { "::puppet::server":
    modulepath   => inline_template("<%= modulepath.join(':') %>"),
    storeconfigs => "puppetdb",
    reporturl    => "https://my.puppet.dashboard/reports",
    servertype   => 'unicorn',
    manifest     => '$confdir/environments/$environment/site.pp',
    ca           => $ca,
    reports      => [
      'https',
      'graphite',
      'irccat',
      'store',
    ],
  }

  include puppet::deploy
  include puppet::reports::irccat
  include puppet::reports::graphite

}

About

100% free range, organic, pesticide free Puppet module for managing Puppet

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 76.0%
  • Puppet 24.0%