Support for dns aliases, dynamic creation of zone files (dependent

on the environment fact) from Facter facts and a fix for environment
support in puppet.
This commit is contained in:
aes_ng 2012-03-02 16:05:37 +02:00
parent 0479aeb8b8
commit b470ceb9b6
6 changed files with 75 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Install and configure Puppet client.
#
class puppet::client {
class puppet::client ($environment='') {
tag("bootstrap")

View file

@ -39,6 +39,10 @@
# The bit length of keys.
keylength = <%= puppet_keylength %>
<% if !(environment == '') %>
# Environment this entity is in.
environment = <%= environment %>
<% end -%>
<% if puppetversion[/\d+/].to_i >= 2 -%>
[agent]
# Ignore site manifest when run as agent. Fixes warnings about