diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-04 13:50:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-04 13:50:56 -0300 |
commit | b50dd8ae86f3d8bb52c5ad32de559395c6f46e21 (patch) | |
tree | c39d802ed54fb587e38c32dd25f75642be2b2df3 /manifests/bootstrap/host.pp | |
parent | 9d4f47a2b6f3231e870249823dbe0f7db1baa111 (diff) | |
download | puppet-bootstrap-b50dd8ae86f3d8bb52c5ad32de559395c6f46e21.tar.gz puppet-bootstrap-b50dd8ae86f3d8bb52c5ad32de559395c6f46e21.tar.bz2 |
Move bootstrap specific manifests to a folder
Diffstat (limited to 'manifests/bootstrap/host.pp')
-rw-r--r-- | manifests/bootstrap/host.pp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/manifests/bootstrap/host.pp b/manifests/bootstrap/host.pp new file mode 100644 index 0000000..c1aead8 --- /dev/null +++ b/manifests/bootstrap/host.pp @@ -0,0 +1,24 @@ +# +# This manifest is intended to configure the initial +# machine wich will host the first puppetmaster +# virtual machine. +# + +# Import site configuration +import "../site.pp" + +# The server role +include nodo::role::server + +# Creates vserver for administrative node +nodo::vserver::instance { "$hostname-master": + context => '2', + puppetmaster => true, +} + +# Create a host entry for this puppet node +host { "puppet": + ensure => present, + ip => "192.168.0.2", + host_aliases => [ "puppet.$domain", "admin" ], +} |