puppet-deploy/manifests/site.pp

11 lines
454 B
ObjectPascal
Raw Normal View History

# 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")
2015-01-06 13:10:50 +01:00
node default {
hiera_include('host-roles', '')
2015-01-06 13:10:50 +01:00
}