projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd8657
)
Fix syslogversion facter for 2 digits versions
author
Aurelien Jarno
<aurelien@aurel32.net>
Mon, 1 Apr 2019 15:57:36 +0000
(17:57 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Mon, 1 Apr 2019 15:59:10 +0000
(17:59 +0200)
modules/debian_org/lib/facter/software.rb
patch
|
blob
|
history
diff --git
a/modules/debian_org/lib/facter/software.rb
b/modules/debian_org/lib/facter/software.rb
index
d03fec1
..
4863e05
100644
(file)
--- a/
modules/debian_org/lib/facter/software.rb
+++ b/
modules/debian_org/lib/facter/software.rb
@@
-104,7
+104,7
@@
Facter.add("php5suhosin") do
end
Facter.add("syslogversion") do
setcode do
- %x{dpkg-query -W -f='${Version}\n' syslog-ng | cut -
b1-3
}.chomp
+ %x{dpkg-query -W -f='${Version}\n' syslog-ng | cut -
d. -f1-2
}.chomp
end
end
Facter.add("unbound") do