aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-09-19 09:28:37 +0000
committerMichael Scherer <misc@mageia.org>2011-09-19 09:28:37 +0000
commit87626b564b90e3e1be58be31b7c521291f3c0621 (patch)
tree8703ac0f5a7555b6b0f065a4e4ba5648b687b8a8 /modules
parent94abb44a666c98f10793c1668f6c6fde8c3df184 (diff)
downloadpuppet-87626b564b90e3e1be58be31b7c521291f3c0621.tar
puppet-87626b564b90e3e1be58be31b7c521291f3c0621.tar.gz
puppet-87626b564b90e3e1be58be31b7c521291f3c0621.tar.bz2
puppet-87626b564b90e3e1be58be31b7c521291f3c0621.tar.xz
puppet-87626b564b90e3e1be58be31b7c521291f3c0621.zip
add autosign.conf, so we can autodeploy test vm in the test
environment
Diffstat (limited to 'modules')
-rw-r--r--modules/puppet/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/puppet/manifests/init.pp b/modules/puppet/manifests/init.pp
index d7ccc6b7..770c8247 100644
--- a/modules/puppet/manifests/init.pp
+++ b/modules/puppet/manifests/init.pp
@@ -73,5 +73,12 @@ class puppet {
type => "mtime",
}
+ file { "/etc/puppet/autosign.conf":
+ ensure => $environment ? {
+ 'test' => 'present',
+ default => 'absent',
+ },
+ content => '*',
+ }
}
}