puppet-deploy/manifests/site.pp
2015-09-27 20:33:16 +02:00

10 wiersze
454 B
Puppet

# Main manifest, contains default definition
# Setup is configured to be masterless and nameless [0]
# By now configuration is hiera-based [1], but it could be fact-driven
# [0] http://www.vmdoh.com/blog/why-you-should-be-using-nodeless-masterless-puppet
# [1] https://docs.puppetlabs.com/hiera/1/puppet.html#assigning-classes-to-nodes-with-hiera-hierainclude
$admin=hiera('host-admin',"root@$::fqdn")
node default {
hiera_include('host-roles', '')
}