We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a79688 + ca35be6 commit 977c6c5Copy full SHA for 977c6c5
spec/acceptance/fqdn_rotate_spec.rb
@@ -4,12 +4,12 @@
4
describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do
5
describe 'success' do
6
let(:facts_d) do
7
- if fact('is_pe') == "true"
+ if fact('is_pe', '--puppet') == "true"
8
if fact('osfamily') =~ /windows/i
9
if fact('kernelmajversion').to_f < 6.0
10
- 'C:\Documents and Settings\All Users\Application Data\PuppetLabs\facter\facts.d'
+ 'C:\\Documents and Settings\\All Users\\Application Data\\PuppetLabs\\facter\\facts.d'
11
else
12
- 'C:\ProgramData\PuppetLabs\facter\facts.d'
+ 'C:\\ProgramData\\PuppetLabs\\facter\\facts.d'
13
end
14
15
'/etc/puppetlabs/facter/facts.d'
0 commit comments