Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 781 Bytes

stemcells.md

File metadata and controls

39 lines (24 loc) · 781 Bytes

om_assigned_stemcells

view opsman resources list.

Overview

om_assigned_stemcells is located in /libraries/opsman/stemcells.rb

Opsman reference:

Attributes/Methods

  • extensions get all vm extensions without filters

  • extension return a specific extension (must be supplied as an argument)

Example

control 'Assigned PAS stemcell' do
  title 'should be pinned'
  describe om_assigned_stemcells('cf') do
    its('version') { should eq '97.74' }
  end
end
control 'All assigned stemcell' do
  title 'should be ubuntu xenial'
  describe om_assigned_stemcells do
    its('versions') { should all(include('97.')) }
  end
end