Fixed backuppc for puppet 2.6
This commit is contained in:
parent
3a030c6b13
commit
8e386aba9a
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class backuppc::server {
|
|||
}
|
||||
|
||||
exec { "generate-backuppc-hosts":
|
||||
command => '(cat /etc/BackupPC/hosts.in ; find /etc/BackupPC/pc/ -name \*.pl -exec basename {} .pl \; | sed -e "s/$/ 0 adm/") > /etc/BackupPC/hosts',
|
||||
command => "/bin/sh -c '(cat /etc/BackupPC/hosts.in ; find /etc/BackupPC/pc -name \\*.pl -exec basename {} .pl \\; | sed -e \"s/\$/ 0 adm/\") > /etc/BackupPC/hosts'",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
refreshonly => true,
|
||||
require => File["/etc/BackupPC/hosts.in"],
|
||||
|
|
Loading…
Add table
Reference in a new issue