Skip to content

Commit

Permalink
Removes hasstatus
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoml committed Feb 24, 2014
1 parent 2557e48 commit ecefc8a
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion manifests/api/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
service { 'sensu-api':
ensure => $ensure,
enable => $enable,
hasstatus => true,
hasrestart => true,
subscribe => [ Class['sensu::package'], Class['sensu::api::config'], Class['sensu::redis::config'] ]
}
Expand Down
1 change: 0 additions & 1 deletion manifests/client/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
service { 'sensu-client':
ensure => $ensure,
enable => $enable,
hasstatus => true,
hasrestart => true,
subscribe => [Class['sensu::package'], Class['sensu::client::config'], Class['sensu::rabbitmq::config'] ],
}
Expand Down
1 change: 0 additions & 1 deletion manifests/dashboard/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
service { 'sensu-dashboard':
ensure => $ensure,
enable => $enable,
hasstatus => true,
hasrestart => true,
subscribe => [ Class['sensu::package'], Class['sensu::dashboard::config'], Class['sensu::api::config'], Class['sensu::redis::config'] ]
}
Expand Down
1 change: 0 additions & 1 deletion manifests/server/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
service { 'sensu-server':
ensure => $ensure,
enable => $enable,
hasstatus => true,
hasrestart => true,
subscribe => [ Class['sensu::package'], Class['sensu::api::config'], Class['sensu::redis::config'], Class['sensu::rabbitmq::config'] ],
}
Expand Down
2 changes: 0 additions & 2 deletions spec/classes/sensu_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
it { should contain_service('sensu-api').with(
:ensure => 'stopped',
:enable => false,
:hasstatus => true,
:hasrestart => true,
)}
end # managing services
Expand Down Expand Up @@ -115,7 +114,6 @@
it { should contain_service('sensu-api').with(
:ensure => 'running',
:enable => true,
:hasstatus => true,
:hasrestart => true,
)}
end # managing services
Expand Down
2 changes: 0 additions & 2 deletions spec/classes/sensu_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
it { should contain_service('sensu-client').with(
:ensure => 'running',
:enable => true,
:hasstatus => true,
:hasrestart => true,
) }
end # default
Expand Down Expand Up @@ -89,7 +88,6 @@
it { should contain_service('sensu-client').with(
:ensure => 'stopped',
:enable => false,
:hasstatus => true,
:hasrestart => true,
) }
end # managing services
Expand Down
2 changes: 0 additions & 2 deletions spec/classes/sensu_dashboard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
it { should contain_service('sensu-dashboard').with(
:ensure => 'stopped',
:enable => false,
:hasstatus => true,
:hasrestart => true,
)}
end # managing services
Expand Down Expand Up @@ -83,7 +82,6 @@
it { should contain_service('sensu-dashboard').with(
:ensure => 'running',
:enable => true,
:hasstatus => true,
:hasrestart => true,
)}
end # managing services
Expand Down
2 changes: 0 additions & 2 deletions spec/classes/sensu_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
it { should contain_service('sensu-server').with(
:ensure => 'stopped',
:enable => false,
:hasstatus => true,
:hasrestart => true,
) }
end # without server
Expand All @@ -19,7 +18,6 @@
it { should contain_service('sensu-server').with(
:ensure => 'running',
:enable => true,
:hasstatus => true,
:hasrestart => true,
) }
end # with server
Expand Down

0 comments on commit ecefc8a

Please sign in to comment.