We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a5ee16 commit 0faf2ceCopy full SHA for 0faf2ce
lib/facter/puppetdb_version.rb
@@ -5,7 +5,7 @@
5
require 'open3'
6
7
# check if os is debian/ubuntu and the package is not from puppetlabs
8
- if Facter.value(:osfamily) == 'Debian'
+ if Facter.value(:os)('family') == 'Debian'
9
package_maintainer = Facter::Core::Execution.execute('apt-cache show puppetdb | grep "Maintainer:" | head -1')
10
unless package_maintainer.include? 'Puppet Labs'
11
output, status = Open3.capture2('dpkg-query --showformat=\'${Version}\' --show puppetdb')
0 commit comments