From 1dbfb411962d22b3f61fb9ec2696879bb9a62ca4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 27 Oct 2013 20:38:15 -0200 Subject: Renaming stages --- manifests/admin-stage1.pp | 13 ------------- manifests/host-stage1.pp | 17 ----------------- manifests/host.pp | 17 +++++++++++++++++ manifests/master.pp | 13 +++++++++++++ manifests/repository.pp | 9 +++++++++ manifests/stage0.pp | 9 --------- 6 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 manifests/admin-stage1.pp delete mode 100644 manifests/host-stage1.pp create mode 100644 manifests/host.pp create mode 100644 manifests/master.pp create mode 100644 manifests/repository.pp delete mode 100644 manifests/stage0.pp (limited to 'manifests') diff --git a/manifests/admin-stage1.pp b/manifests/admin-stage1.pp deleted file mode 100644 index 4aa3806..0000000 --- a/manifests/admin-stage1.pp +++ /dev/null @@ -1,13 +0,0 @@ -import "config.pp" -import "nodo" - -include git - -# puppet config -package { [ "puppet", "puppetmaster" ]: ensure => installed, } - -service { "puppetmaster": - ensure => stopped, - require => Package["puppetmaster"] -} - diff --git a/manifests/host-stage1.pp b/manifests/host-stage1.pp deleted file mode 100644 index 179dda8..0000000 --- a/manifests/host-stage1.pp +++ /dev/null @@ -1,17 +0,0 @@ -import "config.pp" -import "nodo" -import "classes/admin_node.pp" -import "classes/firewall.pp" -import "classes/users.pp" -import "classes/default_conf.pp" - -include nodo::server - -# creates vserver for administrative node -include admin_node - -# creates firewall rules for administrative node's external acess -include firewall - -# creates a default puppet configuration in /usr/local/puppet/default-conf -include default_conf diff --git a/manifests/host.pp b/manifests/host.pp new file mode 100644 index 0000000..179dda8 --- /dev/null +++ b/manifests/host.pp @@ -0,0 +1,17 @@ +import "config.pp" +import "nodo" +import "classes/admin_node.pp" +import "classes/firewall.pp" +import "classes/users.pp" +import "classes/default_conf.pp" + +include nodo::server + +# creates vserver for administrative node +include admin_node + +# creates firewall rules for administrative node's external acess +include firewall + +# creates a default puppet configuration in /usr/local/puppet/default-conf +include default_conf diff --git a/manifests/master.pp b/manifests/master.pp new file mode 100644 index 0000000..4aa3806 --- /dev/null +++ b/manifests/master.pp @@ -0,0 +1,13 @@ +import "config.pp" +import "nodo" + +include git + +# puppet config +package { [ "puppet", "puppetmaster" ]: ensure => installed, } + +service { "puppetmaster": + ensure => stopped, + require => Package["puppetmaster"] +} + diff --git a/manifests/repository.pp b/manifests/repository.pp new file mode 100644 index 0000000..b148933 --- /dev/null +++ b/manifests/repository.pp @@ -0,0 +1,9 @@ +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/stage0.pp b/manifests/stage0.pp deleted file mode 100644 index b148933..0000000 --- a/manifests/stage0.pp +++ /dev/null @@ -1,9 +0,0 @@ -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", -} -- cgit v1.2.3