mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
The new puppet.conf file has to be moved into place manually. (imported from commit 253d9a95386dae8c803a998ce2dc7e8be40c880a)
11 lines
163 B
Ruby
11 lines
163 B
Ruby
output = %x{apt-get -v 2>&1}
|
|
|
|
if $?.exitstatus and output.match(/apt (\d+\.\d+\.\d+).*/)
|
|
|
|
Facter.add("apt_version") do
|
|
setcode do
|
|
$1
|
|
end
|
|
end
|
|
end
|