aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/admin_node.pp
diff options
context:
space:
mode:
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" ],
+ }
+}