Eliminated some ortiche-specific name, added some site.pp explanation
This commit is contained in:
parent
05d98626f5
commit
5d0938ea05
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,12 @@
|
|||
$admin=hiera('ortiche-admin')
|
||||
# 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")
|
||||
notify{"This node is mantained by ${::admin}": }
|
||||
|
||||
node default {
|
||||
hiera_include('ortiche-roles')
|
||||
hiera_include('host-roles')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue