Suggest different variables to use if we want to tunnel both v4 and v6
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / acceptance / get_module_path_spec.rb
old mode 100755 (executable)
new mode 100644 (file)
index 3d10251..f9b169c
@@ -1,10 +1,8 @@
-#! /usr/bin/env ruby -S rspec
 require 'spec_helper_acceptance'
 
 describe 'get_module_path function' do
   describe 'success' do
-    it 'get_module_paths dne' do
-      pp = <<-EOS
+    pp = <<-DOC
       $a = $::is_pe ? {
         'true'  => '/etc/puppetlabs/puppet/modules/dne',
         'false' => '/etc/puppet/modules/dne',
@@ -15,8 +13,8 @@ describe 'get_module_path function' do
       } else {
         notify { "failed; module path is '$o'": }
       }
-      EOS
-
+    DOC
+    it 'get_module_paths dne' do
       apply_manifest(pp, :expect_failures => true)
     end
   end