Add test for RHN registration
This commit is contained in:
parent
482c911dba
commit
d3f2a583a5
@ -77,10 +77,17 @@ describe 'cloud' do
|
||||
let :facts do
|
||||
{ :osfamily => 'RedHat',
|
||||
:concat_basedir => '/var/lib/puppet/concat',
|
||||
:puppetversion => '3.3' }
|
||||
:puppetversion => '3.3',
|
||||
:hostname => 'redhat1' }
|
||||
end
|
||||
|
||||
let :params do
|
||||
{ :rhn_registration => { "username" => "rhn", "password" => "pass" } }
|
||||
end
|
||||
|
||||
# it_configures 'private cloud node'
|
||||
|
||||
it { should contain_rhn_register('redhat1') }
|
||||
end
|
||||
|
||||
context 'on other platforms' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user