Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dot-notation when retrieving facts in facter_impl
In Puppet 8, core providers are being confined using facts fetched using 'dot-notation'. We need to support this style of lookup in our stub implementation. For example in `lib/puppet/provider/service/init.rb` ```ruby confine :true => begin os = Puppet.runtime[:facter].value(:operatingsystem).downcase # ... ``` was updated to ```ruby confine :true => begin os = Puppet.runtime[:facter].value('os.name').downcase # ... ``` See puppetlabs/puppet@82cef23 for Puppet 8 change. Relates to puppetlabs#38
- Loading branch information