Skip to content

Commit

Permalink
wat
Browse files Browse the repository at this point in the history
  • Loading branch information
towo committed Mar 8, 2021
1 parent a148b3d commit cc49362
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions spec/acceptance/cs_primitive_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@
J76GtqoIOh+CTeY/BMwBotdQdgeR0zvjE9FuLWkhTmRtVFhbVIzJbFlFuYq5d3LH
NWyN0RsTXFaqowV1/HSyvfD7LoF/CrmN5gOAM3Ierv/Ti9uqGVhdGBd/kw=='
File.open('/tmp/ca.pem', 'w') { |f| f.write(cert) }
promotable_metadata_name = if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'master'
else
'promotable'
end
promotable_metadata_name = if fact('default_provider') == 'pcs'
if Gem::Version.new(fact('pcs_version')) < Gem::Version.new('0.10.0')
'master'
else
'promotable'
end
else
'master'
end
it 'with defaults' do
pp = <<-EOS
file { '/tmp/ca.pem':
Expand Down

0 comments on commit cc49362

Please sign in to comment.