aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-09-19 11:19:17 +0000
committerMichael Scherer <misc@mageia.org>2011-09-19 11:19:17 +0000
commitce4295045e73255f0a86316e88d7d52a1123f097 (patch)
treeed948da80a037ed1c165e1cbb95a87d5b7e757f9 /modules
parentb0c1b74eadc001fbb879602d48ae843519dd5115 (diff)
downloadpuppet-ce4295045e73255f0a86316e88d7d52a1123f097.tar
puppet-ce4295045e73255f0a86316e88d7d52a1123f097.tar.gz
puppet-ce4295045e73255f0a86316e88d7d52a1123f097.tar.bz2
puppet-ce4295045e73255f0a86316e88d7d52a1123f097.tar.xz
puppet-ce4295045e73255f0a86316e88d7d52a1123f097.zip
split mgacreatehome in a separate file in a attempt to simplify
the buildsystem module
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/init.pp12
-rw-r--r--modules/buildsystem/manifests/mgacreatehome.pp14
2 files changed, 14 insertions, 12 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 2ff3b90d..54c687e0 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -547,18 +547,6 @@ class buildsystem {
}
}
- # temporary script to create home dir with ssh key
- # taking login and url as arguments
- class mgacreatehome {
- file { "/usr/local/sbin/mgacreatehome":
- ensure => present,
- owner => root,
- group => root,
- mode => 700,
- content => template("buildsystem/mgacreatehome")
- }
- }
-
class check_missing_deps {
file { "/usr/local/bin/missing-deps.sh":
ensure => present,
diff --git a/modules/buildsystem/manifests/mgacreatehome.pp b/modules/buildsystem/manifests/mgacreatehome.pp
new file mode 100644
index 00000000..bf1c6c1d
--- /dev/null
+++ b/modules/buildsystem/manifests/mgacreatehome.pp
@@ -0,0 +1,14 @@
+class buildsystem {
+ # temporary script to create home dir with ssh key
+ # taking login and url as arguments
+ class mgacreatehome {
+ file { "/usr/local/sbin/mgacreatehome":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 700,
+ content => template("buildsystem/mgacreatehome")
+ }
+ }
+}
+