10 строки
454 Б
Puppet
10 строки
454 Б
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', '')
|
|
}
|