Skip to content

Commit

Permalink
bad merge resolution caused broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambert121 committed Feb 26, 2013
1 parent 09ab3f3 commit 5a767eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
class sensu::package(
$version = 'latest',
$notify_services = [],
$install_repo = true
$install_repo = 'true'
) {

if $install_repo == 'true' {
if $install_repo == 'true' or $install_repo == true {
include sensu::repo
}

Expand Down
4 changes: 3 additions & 1 deletion spec/classes/sensu_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
context 'setting all params' do
let(:params) { {
:rabbitmq_password => 'asdfjkl',
:server => true,
:client => false,
:version => '0.9.10',
:install_repo => false,
:rabbitmq_port => '1234',
Expand Down Expand Up @@ -125,7 +127,7 @@
let(:facts) { { :fqdn => 'myhost.domain.com', :ipaddress => '1.2.3.4' } }

it { should contain_class('sensu::rabbitmq').with(
'notify_services' => []
'notify_services' => ''
)}
end

Expand Down

0 comments on commit 5a767eb

Please sign in to comment.