test(osarch): add unit test for osarch

This commit is contained in:
N 2019-06-29 21:23:39 +01:00 committed by Imran Iqbal
parent 26edfa08c6
commit 1be20524cf
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -15,6 +15,7 @@ control 'template configuration' do
its('content') { should include '"pkg": {"name": "' }
its('content') { should include '"service": {"name": "' }
its('content') { should include '"tofs": {"files_switch": ["any/path/can/be/used/here", "id", "roles", "osfinger", "os", "os_family"], "source_files": {"template-config-file-file-managed": ["example.tmpl.jinja"]}' }
its('content') { should include '"arch": "amd64"' }
its('content') { should include '"winner": "pillar"}' }
its('content') { should include 'winner of the merge: pillar' }
end