aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-10-26 16:51:43 +0000
committerMichael Scherer <misc@mageia.org>2010-10-26 16:51:43 +0000
commitab4845eb1453390f0b8d11fe5c25d1b66af2ed18 (patch)
treef8c4737fbc7bc198aa85ded8c5240d1a38279b68 /manifests
parentf4641910c50086fd73c83f1915b4ef4005070ae2 (diff)
downloadpuppet-ab4845eb1453390f0b8d11fe5c25d1b66af2ed18.tar
puppet-ab4845eb1453390f0b8d11fe5c25d1b66af2ed18.tar.gz
puppet-ab4845eb1453390f0b8d11fe5c25d1b66af2ed18.tar.bz2
puppet-ab4845eb1453390f0b8d11fe5c25d1b66af2ed18.tar.xz
puppet-ab4845eb1453390f0b8d11fe5c25d1b66af2ed18.zip
- add the logic for creating the puppet server itself
Diffstat (limited to 'manifests')
-rw-r--r--manifests/nodes.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/nodes.pp b/manifests/nodes.pp
index fc333729..0c0441d8 100644
--- a/manifests/nodes.pp
+++ b/manifests/nodes.pp
@@ -12,6 +12,17 @@ node valstar {
user => root,
minute => '*/5'
}
+
+ exec { puppet_etc:
+ cwd => "/etc/",
+ command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/",
+ user => "root",
+ creates => "/etc/puppet/manifests/site.pp"
+ }
+
+ package {"puppet-server":
+ ensure => "installed"
+ }
}
# web apps