fix the error message
It's puppet-cloud, not puppet-horizon.
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
class cloud {
|
class cloud {
|
||||||
|
|
||||||
if ! ($::osfamily in [ 'RedHat', 'Debian' ]) {
|
if ! ($::osfamily in [ 'RedHat', 'Debian' ]) {
|
||||||
fail("module puppet-horizon doesn't support ${::osfamily}")
|
fail("module puppet-cloud only support ${::osfamily}, only Red Hat or Debian")
|
||||||
}
|
}
|
||||||
|
|
||||||
# motd
|
# motd
|
||||||
|
@@ -84,7 +84,7 @@ describe 'cloud' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'should fail' do
|
it 'should fail' do
|
||||||
expect { subject }.to raise_error(/module puppet-horizon doesn't support/)
|
expect { subject }.to raise_error(/module puppet-cloud only support/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user