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
We're running rspec-puppet v2.7.2 via the Puppet PDK v1.9.0.0 and are running into an issue testing the following resource while running on Windows but pretending to be on Linux.
Ini_setting[use_cached_catalog]: File paths must be fully qualified, not
'c:/nul/puppet.conf'
We tried overriding the config in spec_helper.rb as follows:
RSpec.configure do |c|
c.config = '/dummy'
end
But we received a similar error showing that C: is being prepended:
Ini_setting[use_cached_catalog]: File paths must be fully qualified, not
'C:/dummy'
When we set the path in the ini_setting resource explicitly to /dummy, it works fine, so it seems like an issue prepending C: to the config Puppet setting.
Let me know if I can provide any additional information to help.
The text was updated successfully, but these errors were encountered:
We're running rspec-puppet v2.7.2 via the Puppet PDK v1.9.0.0 and are running into an issue testing the following resource while running on Windows but pretending to be on Linux.
Puppet Resource Snippet:
Error:
We tried overriding the
config
inspec_helper.rb
as follows:But we received a similar error showing that
C:
is being prepended:When we set the
path
in theini_setting
resource explicitly to/dummy
, it works fine, so it seems like an issue prependingC:
to theconfig
Puppet setting.Let me know if I can provide any additional information to help.
The text was updated successfully, but these errors were encountered: