Merge pull request #927 from tryfunc/fix_apt_mark
authorsheenaajay <sheena@puppet.com>
Wed, 8 Apr 2020 14:54:44 +0000 (15:54 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Apr 2020 14:54:44 +0000 (15:54 +0100)
fix apt-mark syntax

manifests/mark.pp

index e43916204b901c5f2823192d5b48e951c454988c..d83a02c44d98f36892870c8b90e9d7f4092dba3d 100644 (file)
@@ -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}":