Skip to content

Commit

Permalink
fix capitalization of resource references
Browse files Browse the repository at this point in the history
  • Loading branch information
antonlindstrom committed Mar 16, 2013
1 parent fa5228a commit 6535fb1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifests/check.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
}

if $purge_config {
file { "/etc/sensu/conf.d/check_${name}.json": ensure => $ensure, before => sensu_check[$name] }
file { "/etc/sensu/conf.d/${config_key}.json": ensure => $config_present, before => sensu_check_config[$config_key] }
file { "/etc/sensu/conf.d/check_${name}.json": ensure => $ensure, before => Sensu_check[$name] }
file { "/etc/sensu/conf.d/${config_key}.json": ensure => $config_present, before => Sensu_check_config[$config_key] }
}

sensu_check { $name:
Expand Down
4 changes: 2 additions & 2 deletions manifests/handler.pp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
}

if $purge_config {
file { "/etc/sensu/conf.d/handler_${name}.json": ensure => $ensure, before => sensu_handler[$name] }
file { "/etc/sensu/conf.d/${config_key}.json": ensure => $config_present, before => sensu_handler_config[$config_key] }
file { "/etc/sensu/conf.d/handler_${name}.json": ensure => $ensure, before => Sensu_handler[$name] }
file { "/etc/sensu/conf.d/${config_key}.json": ensure => $config_present, before => Sensu_handler_config[$config_key] }
}

sensu_handler { $name:
Expand Down
2 changes: 1 addition & 1 deletion manifests/rabbitmq.pp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}

if $purge_config {
file { '/etc/sensu/conf.d/rabbitmq.json': before => sensu_rabbitmq_config[$::fqdn] }
file { '/etc/sensu/conf.d/rabbitmq.json': before => Sensu_rabbitmq_config[$::fqdn] }
}

sensu_rabbitmq_config { $::fqdn:
Expand Down
2 changes: 1 addition & 1 deletion manifests/subscription.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
) {

if $purge_config {
file { "/etc/sensu/conf.d/subscription_${name}.json": ensure => $ensure, before => sensu_client_subscription[$name] }
file { "/etc/sensu/conf.d/subscription_${name}.json": ensure => $ensure, before => Sensu_client_subscription[$name] }
}

sensu_client_subscription { $name: ensure => $ensure }
Expand Down

0 comments on commit 6535fb1

Please sign in to comment.