Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
FACT 4.0.52
-
Night's Watch
-
2
-
NW - 2021-03-31
-
Needs Assessment
-
Bug Fix
-
-
Needs Assessment
Description
Puppet Version: 6.21.1
OS Name/Version: CentOS 7.9
I have en issue where rspec tests for a custom type just started to fail yesterday at 00:01.
An error occurred while loading ./spec/unit/puppet/provider/am_agent_j2ee/ruby_spec.rb.
|
Failure/Error: defaultto "amAgent_#{Facter.value('fqdn').gsub('.', '_')}_80.log"
|
Puppet::Error:
|
Could not autoload puppet/type/am_agent_j2ee: undefined method `gsub' for nil:NilClass
|
and
[vagrant@localhost vagrant]$ bundle exec facter fqdn
|
|
[vagrant@localhost vagrant]$ bundle exec facter | grep fqdn
|
[vagrant@localhost vagrant]$
|
|
Â
Date and time seems to match the release of facter 4.0.52.
Running my Rspec tests with facter 4.0.51 is ok.
Attachments
Issue Links
- is duplicated by
-
FACT-2993 Facter 4.0.52 does not provide trusted['hostname'] in Docker environments
-
- Resolved
-