Not enough escape velocity

This commit is contained in:
Hunter Haugen 2014-06-24 15:03:58 -07:00
parent 977c6c5bf0
commit 0cac9fd048

View file

@ -7,9 +7,9 @@ describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact(
if fact('is_pe', '--puppet') == "true"
if fact('osfamily') =~ /windows/i
if fact('kernelmajversion').to_f < 6.0
'C:\\Documents and Settings\\All Users\\Application Data\\PuppetLabs\\facter\\facts.d'
'C:/Documents and Settings/All Users/Application Data/PuppetLabs/facter/facts.d'
else
'C:\\ProgramData\\PuppetLabs\\facter\\facts.d'
'C:/ProgramData/PuppetLabs/facter/facts.d'
end
else
'/etc/puppetlabs/facter/facts.d'