From 9b5429d82a49d567d28b9953f86d688977bb0fb2 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 4 Nov 2010 18:25:13 +0000 Subject: - merge the current puppet snapshot system with the new module --- manifests/nodes.pp | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) (limited to 'manifests/nodes.pp') diff --git a/manifests/nodes.pp b/manifests/nodes.pp index 5550e373..a4b91d9a 100644 --- a/manifests/nodes.pp +++ b/manifests/nodes.pp @@ -17,32 +17,11 @@ node valstar { include rsyncd include mirror include openldap::master + include subversion::client + - # for puppet svn checkout - package {"subversion": - ensure => "installed" - } - - # svn spam log with - # Oct 26 13:30:01 valstar svn: No worthy mechs found - # without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html - # - package {"lib64sasl2-plug-anonymous": - ensure => "installed" - } - - # update the puppet snapshot - cron { puppet_update: - command => "cd /etc/puppet && /usr/bin/svn update -q", - 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" + subversion::snapshot { "/etc/puppet": + source => "svn://vm-gandi.mageia.org/adm/puppet/" } file { "extdata": -- cgit v1.2.1