Disabled cups service when installing cups clients.
This commit is contained in:
parent
5d4ce37211
commit
e447fa5233
1 changed files with 7 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Reference in a new issue