From 72f61db98bf1ad3663ffdb6c2b5bad196eba2054 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 13 Aug 2015 10:41:06 -0300 Subject: Switch to parametrized classes --- manifests/bootstrap/host.pp | 4 +++- manifests/bootstrap/master.pp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/bootstrap/host.pp b/manifests/bootstrap/host.pp index c403eea..5f9c23a 100644 --- a/manifests/bootstrap/host.pp +++ b/manifests/bootstrap/host.pp @@ -5,7 +5,9 @@ # # The server role -include nodo::role::server +class { 'nodo: + role => 'server', +} # Creates vserver for administrative node nodo::vserver::instance { "$hostname-master": diff --git a/manifests/bootstrap/master.pp b/manifests/bootstrap/master.pp index 73c075c..5934d3e 100644 --- a/manifests/bootstrap/master.pp +++ b/manifests/bootstrap/master.pp @@ -6,4 +6,6 @@ # # Include the master node configuration -include nodo::role::master +class { 'nodo': + role => 'master', +} -- cgit v1.2.3