From 70219ad874edc72938d62f401f45eca7d47d9737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Fri, 19 Apr 2013 11:58:53 +0300 Subject: [PATCH] Added bsd printing commands to cups::client on Ubuntu. --- cups/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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":