diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2014-06-03 11:11:08 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2014-06-03 11:11:08 -0400 |
commit | 08f7553fb66621fb816400609a034582c44c91e4 (patch) | |
tree | 4ccf674b526bde1ce72b9e781f84fad6920c4bf3 /spec/acceptance/fqdn_rotate_spec.rb | |
parent | 0cda8587440f2a9c1d5af174f3fd21ed72fa3ca2 (diff) |
Fixes for PE3.3.
Diffstat (limited to 'spec/acceptance/fqdn_rotate_spec.rb')
-rwxr-xr-x | spec/acceptance/fqdn_rotate_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/acceptance/fqdn_rotate_spec.rb b/spec/acceptance/fqdn_rotate_spec.rb index b7f8bf8..fc8bea2 100755 --- a/spec/acceptance/fqdn_rotate_spec.rb +++ b/spec/acceptance/fqdn_rotate_spec.rb @@ -14,6 +14,7 @@ describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact( shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi") end it 'fqdn_rotates floats' do + shell("mkdir -p #{facts_d}") shell("echo 'fqdn=fakehost.localdomain' > #{facts_d}/fqdn.txt") pp = <<-EOS $a = ['a','b','c','d'] |