From fb02e51c9292d5ae52e57ae506cd69e817217228 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 5 Nov 2019 23:20:15 +0100 Subject: site.pp: Fix path to bash executable. --- code/environments/production/manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index ad872fc..f4055f2 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -162,7 +162,7 @@ class cups_browsed_polling { } exec { 'cups-delete-dead-printers': - command => '/usr/bin/bash -c "LANG=C lpstat -a | grep \"not accepting requests\" | cut -d \" \" -f1 | while read printer; do lpadmin -x \$printer; done"', + command => '/bin/bash -c "LANG=C lpstat -a | grep \"not accepting requests\" | cut -d \" \" -f1 | while read printer; do lpadmin -x \$printer; done"', subscribe => File_line['cups-browsed-no-remote-protos'], refreshonly => true, } -- cgit v1.2.3