From 5d0938ea0570d9011b7ca52d89456742bc5f5e4a Mon Sep 17 00:00:00 2001 From: jigen Date: Fri, 26 Jun 2015 00:29:03 +0200 Subject: [PATCH] Eliminated some ortiche-specific name, added some site.pp explanation --- manifests/site.pp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/manifests/site.pp b/manifests/site.pp index 8c05262..f7556d9 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -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') }