diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-13 10:41:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-13 10:41:06 -0300 |
commit | 72f61db98bf1ad3663ffdb6c2b5bad196eba2054 (patch) | |
tree | 91702eeec5e94b7df346983aaac2dc672f810e64 /manifests/bootstrap | |
parent | fd90a6415114cbd96adc6da71ab63b9c369b28f4 (diff) | |
download | puppet-bootstrap-72f61db98bf1ad3663ffdb6c2b5bad196eba2054.tar.gz puppet-bootstrap-72f61db98bf1ad3663ffdb6c2b5bad196eba2054.tar.bz2 |
Switch to parametrized classes
Diffstat (limited to 'manifests/bootstrap')
-rw-r--r-- | manifests/bootstrap/host.pp | 4 | ||||
-rw-r--r-- | manifests/bootstrap/master.pp | 4 |
2 files changed, 6 insertions, 2 deletions
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', +} |