diff --git a/cups/manifests/init.pp b/cups/manifests/init.pp index f72e8b3..b6f9df4 100644 --- a/cups/manifests/init.pp +++ b/cups/manifests/init.pp @@ -20,7 +20,7 @@ class cups::client { } case $::operatingsystem { - openbsd: { + "openbsd": { exec { "cups-enable": command => $::operatingsystemrelease ? { /4\.[1-8]/ => "echo y | cups-enable", @@ -40,6 +40,11 @@ class cups::client { require => Exec["cups-enable"], } } + "ubuntu": { + package { "cups-bsd": + ensure => installed, + } + } } service { "cups":