source: trunk/puppet/modules/cups_server/manifests/init.pp @ 449

Last change on this file since 449 was 443, checked in by sebas, 15 years ago

tipo en cups conf

File size: 467 bytes
Line 
1# copyright koumbit.org
2# Licence: GPL
3
4class cups_server {
5
6   package { "cupsys": ensure => "installed" }
7
8   file { "/etc/cups/cupsd.conf":
9      source => "puppet:///cups_server/cupsd.conf",
10      ensure => present,
11      require => Package["cupsys"],
12      owner => "root", group => "root", mode => "644",
13   }
14
15   service { "cupsys":
16      enable => true,
17      ensure => running,
18      subscribe => [ Package["cupsys"], File["/etc/cups/cupsd.conf"] ],
19   }
20}
21
Note: See TracBrowser for help on using the repository browser.