From ce7ceb3c467073076e581ee4ab99c4093403217d Mon Sep 17 00:00:00 2001 From: Vadim Chernyshev Date: Thu, 19 Mar 2020 16:32:46 +0300 Subject: [PATCH] fix unless_cmd apt-mark supports the following syntax: * showauto * showmanual * showhold Signed-off-by: Vadim Chernyshev --- manifests/mark.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/mark.pp b/manifests/mark.pp index e439162..d83a02c 100644 --- a/manifests/mark.pp +++ b/manifests/mark.pp @@ -13,7 +13,7 @@ define apt::mark ( $unless_cmd = undef } default: { - $unless_cmd = "/usr/bin/apt-mark showm${setting} ${title} | /bin/fgrep -qs ${title}" + $unless_cmd = "/usr/bin/apt-mark show${setting} ${title} | /bin/fgrep -qs ${title}" } } exec { "/usr/bin/apt-mark ${setting} ${title}": -- 2.32.3