From f3047f5b509d73b516aedf05ea1353f5ca8780da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Mon, 10 Feb 2014 11:23:25 +0100 Subject: [PATCH] fix the error message It's puppet-cloud, not puppet-horizon. --- manifests/init.pp | 2 +- spec/classes/cloud_init_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index d0b785bc..ae2e483a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,7 +21,7 @@ class cloud { 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 diff --git a/spec/classes/cloud_init_spec.rb b/spec/classes/cloud_init_spec.rb index 3e7a4d0e..881764a7 100644 --- a/spec/classes/cloud_init_spec.rb +++ b/spec/classes/cloud_init_spec.rb @@ -84,7 +84,7 @@ describe 'cloud' do end 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