Added new module for installing run-rsync and optionally configuring it. Only ubuntu debian HUTTU-NET PPA support ATM.
This commit is contained in:
parent
6ed1a89034
commit
e236f4a6a5
1 changed files with 15 additions and 0 deletions
15
run-rsync/manifests/init.pp
Normal file
15
run-rsync/manifests/init.pp
Normal 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",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue