aboutsummaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp15
1 files changed, 11 insertions, 4 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index eaa9e22..eecb81e 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -1,5 +1,5 @@
#
-# This file is intended to configure the initial
+# This manifest is intended to configure the initial
# machine wich will host the first puppetmaster
# virtual machine.
#
@@ -16,7 +16,14 @@ import "classes/default_conf.pp"
include nodo::role::server
# Creates vserver for administrative node
-include admin_node
+nodo::vserver::instance { "$hostname-master":
+ context => '2',
+ puppetmaster => true,
+}
-# Creates firewall rules for administrative node's external acess
-include firewall
+# Create a host entry for this puppet node
+host { "puppet":
+ ensure => present,
+ ip => "192.168.0.2",
+ host_aliases => [ "puppet.$domain", "admin" ],
+}