Fix lint issue
This commit is contained in:
parent
bfa9ca8db7
commit
94ca55bdca
@ -74,7 +74,7 @@ This node is under the control of Puppet ${::puppetversion}.
|
||||
|
||||
if $::osfamily == 'RedHat' and $rhn_registration {
|
||||
create_resources('rhn_register', {
|
||||
"${::hostname}" => $rhn_registration
|
||||
"rhn-${::hostname}" => $rhn_registration
|
||||
} )
|
||||
}
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ describe 'cloud' do
|
||||
|
||||
# it_configures 'private cloud node'
|
||||
|
||||
it { should contain_rhn_register('redhat1') }
|
||||
it { should contain_rhn_register('rhn-redhat1') }
|
||||
end
|
||||
|
||||
context 'on other platforms' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user