diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-04-20 12:24:13 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-04-20 12:24:13 +0000 |
commit | 2a2f4744f14c5411f633a4d3068abf73b82867f5 (patch) | |
tree | c20e09bf119c37f2e3ea6e32e42155589f235876 /modules/bcd/manifests | |
parent | 31355cafe2d6e7028c171105212daf4609007093 (diff) | |
download | puppet-2a2f4744f14c5411f633a4d3068abf73b82867f5.tar puppet-2a2f4744f14c5411f633a4d3068abf73b82867f5.tar.gz puppet-2a2f4744f14c5411f633a4d3068abf73b82867f5.tar.bz2 puppet-2a2f4744f14c5411f633a4d3068abf73b82867f5.tar.xz puppet-2a2f4744f14c5411f633a4d3068abf73b82867f5.zip |
add rsync for isos directory
Diffstat (limited to 'modules/bcd/manifests')
-rw-r--r-- | modules/bcd/manifests/init.pp | 14 |
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' + } + } } |