Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8393132
unsupported_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
556 B
Subscribers
None
unsupported_spec.rb
View Options
require
'spec_helper_acceptance'
describe
'unsupported distributions and OSes'
,
:if
=>
UNSUPPORTED_PLATFORMS
.
include?
(
fact
(
'operatingsystem'
))
do
it
'should fail'
do
pp
=
<<-
EOS
class { 'java': }
java_ks { 'puppetca:keystore':
ensure => latest,
certificate => '#{default['puppetpath']}/ssl/certs/ca.pem',
target => '/etc/keystore.ks',
password => 'puppet',
trustcacerts => true,
}
EOS
expect
(
apply_manifest
(
pp
,
:expect_failures
=>
true
)
.
stderr
)
.
to
match
(
/unsupported os/
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Jun 4 2025, 7:08 PM (10 w, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398947
Attached To
R215 puppet-puppetlabs-java_ks
Event Timeline
Log In to Comment