You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 #38
0 commit comments