]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Switch to parametrized classes
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 13 Aug 2015 13:41:06 +0000 (10:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 13 Aug 2015 13:41:06 +0000 (10:41 -0300)
manifests/bootstrap/host.pp
manifests/bootstrap/master.pp

index c403eeab09532016efece9b10e9cc00a32ed8ec7..5f9c23ac5d955bd8e793ba0910da74a99ada9d9b 100644 (file)
@@ -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":
index 73c075cd496c13c53e0578ce0f12032cea841f69..5934d3eab327afac6d27954a9332cfe9b13a48c5 100644 (file)
@@ -6,4 +6,6 @@
 #
 
 # Include the master node configuration
-include nodo::role::master
+class { 'nodo':
+  role => 'master',
+}