From: Silvio Rhatto Date: Thu, 13 Aug 2015 13:41:06 +0000 (-0300) Subject: Switch to parametrized classes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=72f61db98bf1ad3663ffdb6c2b5bad196eba2054;p=puppet-bootstrap.git Switch to parametrized classes --- 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', +}