diff options
-rw-r--r-- | modules/buildsystem/manifests/check_missing_deps.pp | 18 | ||||
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 26 | ||||
-rw-r--r-- | modules/buildsystem/manifests/release.pp | 11 |
3 files changed, 29 insertions, 26 deletions
diff --git a/modules/buildsystem/manifests/check_missing_deps.pp b/modules/buildsystem/manifests/check_missing_deps.pp new file mode 100644 index 00000000..724441cc --- /dev/null +++ b/modules/buildsystem/manifests/check_missing_deps.pp @@ -0,0 +1,18 @@ +class buildsystem { + class check_missing_deps { + file { "/usr/local/bin/missing-deps.sh": + ensure => present, + owner => root, + group => root, + mode => 755, + source => "puppet:///modules/buildsystem/missing-deps.sh", + } + + # FIXME hardcoded path + cron { "check missing deps": + command => "cd /var/www/bs/data && /usr/local/bin/missing-deps.sh", + minute => "*/15", + } + } +} + diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 54c687e0..0339719f 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -547,32 +547,6 @@ class buildsystem { } } - class check_missing_deps { - file { "/usr/local/bin/missing-deps.sh": - ensure => present, - owner => root, - group => root, - mode => 755, - source => "puppet:///modules/buildsystem/missing-deps.sh", - } - - # FIXME hardcoded path - cron { "check missing deps": - command => "cd /var/www/bs/data && /usr/local/bin/missing-deps.sh", - minute => "*/15", - } - } - - class release { - subversion::snapshot { "/root/release": - source => "svn://svn.$domain/soft/release/trunk/", - } - - package { "hardlink": - ensure => "installed", - } - } - # A script to copy on valstar the 2010.1 rpms built on jonund class sync20101 inherits base { file { "/usr/local/bin/sync2010.1": diff --git a/modules/buildsystem/manifests/release.pp b/modules/buildsystem/manifests/release.pp new file mode 100644 index 00000000..6f721eec --- /dev/null +++ b/modules/buildsystem/manifests/release.pp @@ -0,0 +1,11 @@ +class buildsystem { + class release { + subversion::snapshot { "/root/release": + source => "svn://svn.$domain/soft/release/trunk/", + } + + package { "hardlink": + ensure => "installed", + } + } +} |