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
|
@ -45,7 +45,7 @@ class cups::server inherits cups::client {
|
|||
ensure => present,
|
||||
source => [ "puppet:///files/cups/cupsd.conf.${fqdn}",
|
||||
"puppet:///files/cups/cupsd.conf",
|
||||
"puppet:///cups/cupsd.conf", ],
|
||||
"puppet:///modules/cups/cupsd.conf", ],
|
||||
mode => 0640,
|
||||
owner => root,
|
||||
group => lp,
|
||||
|
@ -132,7 +132,7 @@ define cups::printer($uri, $ensure = present) {
|
|||
file { "/etc/cups/ppd/${name}.ppd":
|
||||
ensure => $ensure,
|
||||
source => [ "puppet:///files/cups/${name}.ppd",
|
||||
"puppet:///cups/postscript.ppd" ],
|
||||
"puppet:///modules/cups/postscript.ppd" ],
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => root,
|
||||
|
@ -185,7 +185,7 @@ class cups::samba {
|
|||
define driverfile() {
|
||||
file { "/usr/share/cups/drivers/${name}":
|
||||
ensure => present,
|
||||
source => "puppet:///cups/drivers/${name}",
|
||||
source => "puppet:///modules/cups/drivers/${name}",
|
||||
mode => 0644,
|
||||
owner => root,
|
||||
group => root,
|
||||
|
@ -216,7 +216,7 @@ class cups::samba {
|
|||
|
||||
file { "/etc/cron.hourly/update-printer-inf.sh":
|
||||
ensure => present,
|
||||
source => "puppet:///cups/update-printer-inf.sh",
|
||||
source => "puppet:///modules/cups/update-printer-inf.sh",
|
||||
mode => 0755,
|
||||
owner => root,
|
||||
group => root,
|
||||
|
@ -235,7 +235,7 @@ class cups::snmp {
|
|||
|
||||
file { "/etc/cron.hourly/printer-details.py":
|
||||
ensure => present,
|
||||
source => "puppet:///cups/printer-details.py",
|
||||
source => "puppet:///modules/cups/printer-details.py",
|
||||
mode => 0755,
|
||||
owner => root,
|
||||
group => root,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue