diff --git a/cups/manifests/init.pp b/cups/manifests/init.pp index 07efd87..37c3ad9 100644 --- a/cups/manifests/init.pp +++ b/cups/manifests/init.pp @@ -34,6 +34,12 @@ class cups::client { } } + service { "cups": + ensure => stopped, + enable => false, + require => Package["cups"], + } + } # Install cups server @@ -56,10 +62,9 @@ class cups::server inherits cups::client { notify => Service["cups"], } - service { "cups": + Service["cups"] { ensure => running, enable => true, - require => Package["cups"], } file { "/etc/cups/ppd":