diff options
author | drebs <drebs@riseup.net> | 2011-03-22 21:32:33 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-22 21:32:33 -0300 |
commit | f0dbddf256581c5688ec5fdb5c554372ca064b46 (patch) | |
tree | d684226e4602aaa7ed25df768417694718938f54 | |
parent | a73a41ef31c3d8ecf2a72cc0148b9d370ada85b3 (diff) | |
download | puppet-bootstrap-f0dbddf256581c5688ec5fdb5c554372ca064b46.tar.gz puppet-bootstrap-f0dbddf256581c5688ec5fdb5c554372ca064b46.tar.bz2 |
fixing main server templates
-rw-r--r-- | manifests/classes/default_conf.pp | 2 | ||||
-rw-r--r-- | templates/puppet/nodes.pp.erb | 2 | ||||
-rw-r--r-- | templates/puppet/server.pp.erb | 6 |
3 files changed, 2 insertions, 8 deletions
diff --git a/manifests/classes/default_conf.pp b/manifests/classes/default_conf.pp index 885171b..31bdc3d 100644 --- a/manifests/classes/default_conf.pp +++ b/manifests/classes/default_conf.pp @@ -102,7 +102,7 @@ class default_conf { } # files in $default_puppet_conf_dir/manifests/nodes - file { "$default_puppet_conf_dir/manifests/nodes/$hostname-server.pp": + file { "$default_puppet_conf_dir/manifests/nodes/$hostname.pp": ensure => present, owner => "puppet", group => "puppet", diff --git a/templates/puppet/nodes.pp.erb b/templates/puppet/nodes.pp.erb index 2cb58b4..15290d8 100644 --- a/templates/puppet/nodes.pp.erb +++ b/templates/puppet/nodes.pp.erb @@ -1,4 +1,4 @@ -import "nodes/<%= hostname %>-server.pp" +import "nodes/<%= hostname %>.pp" import "nodes/<%= hostname %>-master.pp" import "nodes/<%= hostname %>-proxy.pp" import "nodes/<%= hostname %>-web.pp" diff --git a/templates/puppet/server.pp.erb b/templates/puppet/server.pp.erb index ca0ab50..9aec40a 100644 --- a/templates/puppet/server.pp.erb +++ b/templates/puppet/server.pp.erb @@ -7,12 +7,6 @@ node '<%= hostname %>.<%= domain %>' { $has_ups = false include nodo::server - host { "puppet": - ensure => present, - ip => "127.0.0.1", - host_aliases => [ "puppet.<%= domain %>" ], - } - # # Linux-VServers # |