Test bug #1278452 with real node definitions
This test makes sure the bug #1278452 is fixed by reproducing the actual use case where both nova::consoleauth and nova::spicehtml5proxy are defined on the same node. Change-Id: Idcd3d3722cd834bdafea1cf39e1deaf4213fb9a9 Related-bug: #1278452
This commit is contained in:
parent
31a282a883
commit
20b2d79570
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
*.swp
|
||||
spec/fixtures/modules/*
|
||||
spec/fixtures/manifests/site.pp
|
||||
pkg
|
||||
Gemfile.lock
|
||||
|
7
spec/fixtures/manifests/site.pp
vendored
Normal file
7
spec/fixtures/manifests/site.pp
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
node default {}
|
||||
|
||||
node 'test-001.example.org' {
|
||||
include ::nova
|
||||
include ::nova::consoleauth
|
||||
include ::nova::spicehtml5proxy
|
||||
}
|
19
spec/hosts/test-001_spec.rb
Normal file
19
spec/hosts/test-001_spec.rb
Normal file
@ -0,0 +1,19 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'test-001.example.org' do
|
||||
|
||||
context 'on RedHat platforms' do
|
||||
let :facts do
|
||||
{ :osfamily => 'RedHat' }
|
||||
end
|
||||
|
||||
# Bug #1278452
|
||||
it 'nova::consoleauth and nova::spicehtml5proxy do not conflict' do
|
||||
should contain_class('nova::consoleauth')
|
||||
should contain_class('nova::spicehtml5proxy')
|
||||
|
||||
should contain_nova__generic_service('consoleauth')
|
||||
should contain_nova__generic_service('spicehtml5proxy')
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user