Fixed deprecation warnings "Files found in modules without specifying 'modules' in file path". This will break 0.24.x client compatibility.
This commit is contained in:
parent
33be443516
commit
5475229cfd
28 changed files with 65 additions and 65 deletions
|
@ -21,7 +21,7 @@ define backuppc::manualclient($ensure = "present", $operatingsystem = "default")
|
|||
source => [ "puppet:///files/backuppc/${name}.pl",
|
||||
"puppet:///files/backuppc/${operatingsystem}.pl",
|
||||
"puppet:///files/backuppc/default.pl",
|
||||
"puppet:///backuppc/default.pl", ],
|
||||
"puppet:///modules/backuppc/default.pl", ],
|
||||
mode => 0640,
|
||||
owner => root,
|
||||
group => backuppc,
|
||||
|
@ -105,7 +105,7 @@ class backuppc::server {
|
|||
file { "/etc/BackupPC/hosts.in":
|
||||
ensure => present,
|
||||
source => [ "puppet:///files/backuppc/hosts.in",
|
||||
"puppet:///backuppc/hosts.in", ],
|
||||
"puppet:///modules/backuppc/hosts.in", ],
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => backuppc,
|
||||
|
@ -123,7 +123,7 @@ class backuppc::server {
|
|||
owner => root,
|
||||
group => backuppc,
|
||||
seltype => "httpd_sys_script_rw_t",
|
||||
source => "puppet:///custom/empty",
|
||||
source => "puppet:///modules/custom/empty",
|
||||
require => Package["BackupPC"],
|
||||
notify => Exec["generate-backuppc-hosts"],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue