aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-04 13:35:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-04 13:35:18 -0300
commit9d4f47a2b6f3231e870249823dbe0f7db1baa111 (patch)
tree9e096e4300e0059121c6ee4ede7470652107d0a3 /manifests
parentebb7769b363f8c3604f1ad20afd73677a638bbf5 (diff)
downloadpuppet-bootstrap-9d4f47a2b6f3231e870249823dbe0f7db1baa111.tar.gz
puppet-bootstrap-9d4f47a2b6f3231e870249823dbe0f7db1baa111.tar.bz2
Misc improvements and cleanup
Diffstat (limited to 'manifests')
-rw-r--r--manifests/classes/configurator.pp2
-rw-r--r--manifests/host.pp4
-rw-r--r--manifests/master.pp5
-rw-r--r--manifests/repository.pp15
-rw-r--r--manifests/vagrant.pp9
5 files changed, 12 insertions, 23 deletions
diff --git a/manifests/classes/configurator.pp b/manifests/classes/configurator.pp
index b9b7e9e..cf2d891 100644
--- a/manifests/classes/configurator.pp
+++ b/manifests/classes/configurator.pp
@@ -1,5 +1,5 @@
#
-# Puppet Bootstrap Configuration Manifest
+# Puppet Bootstrap Configuration Manifest.
#
# This file is responsible to set custom configuration in the bootstrap
# repository for values set in the hiera configuration.
diff --git a/manifests/host.pp b/manifests/host.pp
index 6cb2927..ea23fb4 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -4,8 +4,8 @@
# virtual machine.
#
-# Import the needed config and modules
-import "nodo"
+# Import site configuration
+import "site.pp"
# The server role
include nodo::role::server
diff --git a/manifests/master.pp b/manifests/master.pp
index 0b64523..f53f00e 100644
--- a/manifests/master.pp
+++ b/manifests/master.pp
@@ -5,9 +5,8 @@
# Once it's running it can setup all the other nodes.
#
-# Import the needed config and modules
-import "config.pp"
-import "nodo"
+# Import site configuration
+import "site.pp"
# Include the master node configuration
include nodo::role::master
diff --git a/manifests/repository.pp b/manifests/repository.pp
deleted file mode 100644
index 9564123..0000000
--- a/manifests/repository.pp
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# This manifest is intended to generate the initial
-# puppet repository.
-#
-
-# Import the needed config and modules
-import "config.pp"
-import "classes/puppet_bootstrap.pp"
-
-# Setup modules for use with other stages
-include puppet_bootstrap
-
-puppet_bootstrap::puppet_modules{ "modules":
- puppet_dir => "$puppet_bootstrap_tmpdir",
-}
diff --git a/manifests/vagrant.pp b/manifests/vagrant.pp
index 94d5896..7e6c6c7 100644
--- a/manifests/vagrant.pp
+++ b/manifests/vagrant.pp
@@ -1,5 +1,10 @@
-# Import main module
-import "nodo"
+#
+# This manifest is intended to configure a vagrant
+# virtual machine.
+#
+
+# Import site configuration
+import "site.pp"
#
# Stage definitions