Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
e69426f
)
Merge pull request #927 from tryfunc/fix_apt_mark
author
sheenaajay
<sheena@puppet.com>
Wed, 8 Apr 2020 14:54:44 +0000
(15:54 +0100)
committer
GitHub
<noreply@github.com>
Wed, 8 Apr 2020 14:54:44 +0000
(15:54 +0100)
fix apt-mark syntax
manifests/mark.pp
patch
|
blob
|
history
diff --git
a/manifests/mark.pp
b/manifests/mark.pp
index e43916204b901c5f2823192d5b48e951c454988c..d83a02c44d98f36892870c8b90e9d7f4092dba3d 100644
(file)
--- 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 show
m
${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}":