Skip to content

Instantly share code, notes, and snippets.

@crayfishx
Created July 9, 2014 09:40
Show Gist options
  • Save crayfishx/d9657b29195f3412acff to your computer and use it in GitHub Desktop.
Save crayfishx/d9657b29195f3412acff to your computer and use it in GitHub Desktop.
class profile::puppetmaster {
class { 'puppet::repo::puppetlabs': } -> Package <||>
class { 'puppet::master':
storeconfigs => true,
environments => 'directory',
}
class { 'puppetdb': }
class { 'hiera':
hierarchy => [
"%{environment}/hieradata/%{clientcert}",
"%{environment}/hieradata/%{environment}",
"%{environment}/hieradata/global",
],
datadir => '/etc/puppet/environments',
notify => Service['httpd'],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment