sync::run-rsync used for deploying run-rsync on ubuntu atm.
This commit is contained in:
parent
d885246d76
commit
439aca9251
1 changed files with 16 additions and 0 deletions
|
@ -8,3 +8,19 @@ class rsync {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
class rsync::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