projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/3rdparty/modules/stdlib/spec/acceptance/get_module_path_spec.rb
b/3rdparty/modules/stdlib/spec/acceptance/get_module_path_spec.rb
old mode 100755
(executable)
new mode 100644
(file)
index
6ac690c
..
f9b169c
--- a/
3rdparty/modules/stdlib/spec/acceptance/get_module_path_spec.rb
+++ b/
3rdparty/modules/stdlib/spec/acceptance/get_module_path_spec.rb
@@
-1,10
+1,8
@@
-#! /usr/bin/env ruby -S rspec
require 'spec_helper_acceptance'
require 'spec_helper_acceptance'
-describe 'get_module_path function'
, :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem'))
do
+describe 'get_module_path function' do
describe 'success' 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',
$a = $::is_pe ? {
'true' => '/etc/puppetlabs/puppet/modules/dne',
'false' => '/etc/puppet/modules/dne',
@@
-15,8
+13,8
@@
describe 'get_module_path function', :unless => UNSUPPORTED_PLATFORMS.include?(f
} else {
notify { "failed; module path is '$o'": }
}
} else {
notify { "failed; module path is '$o'": }
}
- EOS
-
+ DOC
+ it 'get_module_paths dne' do
apply_manifest(pp, :expect_failures => true)
end
end
apply_manifest(pp, :expect_failures => true)
end
end