Skip to content

Commit

Permalink
Misc. linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Feb 27, 2013
1 parent 2545d97 commit 6473bce
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 16 deletions.
3 changes: 1 addition & 2 deletions manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#
# == Parameters
#

class sensu::client(
$address = $::ipaddress,
$subscriptions = [],
Expand All @@ -19,10 +18,10 @@
}

sensu_client_config { $::fqdn:
ensure => $ensure,
client_name => $client_name,
address => $address,
subscriptions => $subscriptions,
ensure => $ensure
}

}
2 changes: 1 addition & 1 deletion manifests/handler.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
}

sensu_handler_config { $name:
ensure => $ensure,
type => $type,
command => $command,
ensure => $ensure,
notify => $notify_services
}
}
8 changes: 4 additions & 4 deletions manifests/rabbitmq.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
class sensu::rabbitmq(
$ssl_cert_chain,
$ssl_private_key,
$port,
$host,
$user,
$port = '5671',
$host = 'localhost',
$user = 'sensu',
$password,
$vhost,
$vhost = '/sensu',
$notify_services
) {

Expand Down
2 changes: 1 addition & 1 deletion manifests/repo/yum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
enabled => $enabled,
baseurl => 'http://repos.sensuapp.org/yum/el/$releasever/$basearch/',
gpgcheck => 0,
name => "sensu",
name => 'sensu',
before => Package['sensu'],
}

Expand Down
16 changes: 8 additions & 8 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@
}

sensu_redis_config { $::fqdn:
host => $redis_host,
port => $redis_port,
ensure => $ensure,
ensure => $ensure,
host => $redis_host,
port => $redis_port,
}

sensu_api_config { $::fqdn:
host => $api_host,
port => $api_port,
ensure => $ensure,
ensure => $ensure,
host => $api_host,
port => $api_port,
}

sensu_dashboard_config { $::fqdn:
ensure => $ensure,
host => $dashboard_host,
port => $dashboard_port,
user => $dashboard_user,
password => $dashboard_password,
ensure => $ensure,
}

sensu::handler { 'default':
ensure => $ensure,
type => 'pipe',
command => '/etc/sensu/handlers/default',
ensure => $ensure
}
}
6 changes: 6 additions & 0 deletions manifests/service/client.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# = Class: sensu::service::client
#
# Manages Sensu client service
#
# == Parameters
#
class sensu::service::client (
$enabled
) {
Expand Down
6 changes: 6 additions & 0 deletions manifests/service/server.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# = Class: sensu::service::server
#
# Manages Sensu server service
#
# == Parameters
#
class sensu::service::server(
$enabled
) {
Expand Down

0 comments on commit 6473bce

Please sign in to comment.