aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bcd/manifests')
-rw-r--r--modules/bcd/manifests/init.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp
index d69a6aa2..bba103f2 100644
--- a/modules/bcd/manifests/init.pp
+++ b/modules/bcd/manifests/init.pp
@@ -2,6 +2,7 @@ class bcd {
class variable {
$bcd_login = 'bcd'
$bcd_home = '/home/bcd'
+ $public_isos = "$bcd_home/public_html/isos"
$isomakers_group = 'mga-iso_makers'
}
@@ -13,6 +14,13 @@ class bcd {
comment => "User for creating ISOs",
}
+ file { $public_isos:
+ ensure => directory,
+ owner => $bcd_login,
+ group => $bcd_login,
+ mode => 755,
+ }
+
#package { bcd:
# ensure => 'installed',
#}
@@ -36,4 +44,10 @@ class bcd {
content => template('bcd/vhost_bcd.conf'),
}
}
+
+ class rsync inherits base {
+ class { rsyncd:
+ rsyncd_conf => 'bcd/rsyncd.conf'
+ }
+ }
}