aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/admin_node.pp
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2011-03-19 12:27:05 -0300
committerdrebs <drebs@riseup.net>2011-03-19 12:27:05 -0300
commit13203a28257422df18f5d96ad4897e27d32cbdd4 (patch)
tree52111300798d6fda5be9f8f59caa4ed5ca506599 /manifests/classes/admin_node.pp
parent606dabe0b582b21d6ccdf1d749442b3fc11a3024 (diff)
downloadpuppet-bootstrap-13203a28257422df18f5d96ad4897e27d32cbdd4.tar.gz
puppet-bootstrap-13203a28257422df18f5d96ad4897e27d32cbdd4.tar.bz2
grouping classes in one dir
Diffstat (limited to 'manifests/classes/admin_node.pp')
-rw-r--r--manifests/classes/admin_node.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/classes/admin_node.pp b/manifests/classes/admin_node.pp
new file mode 100644
index 0000000..22b08fd
--- /dev/null
+++ b/manifests/classes/admin_node.pp
@@ -0,0 +1,12 @@
+class admin_node {
+ nodo::vserver::instance { "$hostname-master":
+ context => '2',
+ puppetmaster => true,
+ }
+
+ host { "puppet":
+ ensure => present,
+ ip => "192.168.0.2",
+ host_aliases => [ "puppet.$domain", "admin" ],
+ }
+}