Added new module for installing run-rsync and optionally configuring it. Only ubuntu debian HUTTU-NET PPA support ATM.

This commit is contained in:
svimes 2012-02-23 11:59:25 +02:00
parent 6ed1a89034
commit e236f4a6a5

View file

@ -0,0 +1,15 @@
class run-rsync {
case $operatingsystem {
ubuntu: {
package { "run-rsync": ensure => installed, }
file { "/etc/run-rsync/RunRsyncConfig.pm":
ensure => present,
source => [ "puppet:///files/run-rsync/${homename}-RunRsyncConfig.pm",
"/etc/run-rsync/RunRsyncConfig.pm", ],
mode => 0644,
owner => "root",
group => "root",
}
}
}
}