- Timestamp:
- Mar 11, 2010, 4:15:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/puppet-cups/manifests/init.pp
r514 r572 4 4 class cups { 5 5 } 6 7 ## 8 ## cups (browse) - to see other printers 9 ## 10 11 class cups::browse { 12 13 package { [ 'cups' ]: ensure => installed } 14 15 file { "/etc/cups/cupsd.conf": ensure => present, checksum => mtime } 16 17 line { cupsbrowseoff: 18 file => "/etc/cups/cupsd.conf", 19 line => 'Browsing Off', 20 ensure => absent, 21 require => Package["cups"] 22 } 23 line { cupsbrowseon: 24 file => "/etc/cups/cupsd.conf", 25 line => 'Browsing On', 26 ensure => present, 27 require => Package["cups"] 28 } 29 30 service { "cups": 31 enable => true, 32 ensure => running, 33 subscribe => [ Package["cups"], File["/etc/cups/cupsd.conf"] ], 34 } 35 } 36 6 37 7 38 define cups::saned::client ($remotescanner)
Note: See TracChangeset
for help on using the changeset viewer.