diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-17 10:45:41 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-17 10:45:41 +0000 |
commit | f4ca0baf9d1a04a188b75615c4835777e4d9ecfd (patch) | |
tree | d674e5cbb34d6b90d3e47e014451ec0e400005a4 /modules/bcd | |
parent | 1caaafea503785bf9ebbccf1495cc8225e146497 (diff) | |
download | puppet-f4ca0baf9d1a04a188b75615c4835777e4d9ecfd.tar puppet-f4ca0baf9d1a04a188b75615c4835777e4d9ecfd.tar.gz puppet-f4ca0baf9d1a04a188b75615c4835777e4d9ecfd.tar.bz2 puppet-f4ca0baf9d1a04a188b75615c4835777e4d9ecfd.tar.xz puppet-f4ca0baf9d1a04a188b75615c4835777e4d9ecfd.zip |
split rsync in a separate file, and prepare scoping for puppet 2.8
Diffstat (limited to 'modules/bcd')
-rw-r--r-- | modules/bcd/manifests/init.pp | 5 | ||||
-rw-r--r-- | modules/bcd/manifests/rsync.pp | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp index 3b51650f..b4c7a03b 100644 --- a/modules/bcd/manifests/init.pp +++ b/modules/bcd/manifests/init.pp @@ -64,9 +64,4 @@ class bcd { } } - class rsync inherits base { - class { rsyncd: - rsyncd_conf => 'bcd/rsyncd.conf' - } - } } diff --git a/modules/bcd/manifests/rsync.pp b/modules/bcd/manifests/rsync.pp new file mode 100644 index 00000000..a67300d0 --- /dev/null +++ b/modules/bcd/manifests/rsync.pp @@ -0,0 +1,7 @@ +class bcd::rsync { + include bcd::base + $public_isos = $bcd::variable::public_isos + class { rsyncd: + rsyncd_conf => 'bcd/rsyncd.conf', + } +} |