From 6535fb1095fc3f06908c7088dade112e51e8c96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Lindstro=CC=88m?= Date: Sat, 16 Mar 2013 12:20:34 +0100 Subject: [PATCH] fix capitalization of resource references --- manifests/check.pp | 4 ++-- manifests/handler.pp | 4 ++-- manifests/rabbitmq.pp | 2 +- manifests/subscription.pp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/check.pp b/manifests/check.pp index 23392d03c3..4d24fa74c9 100644 --- a/manifests/check.pp +++ b/manifests/check.pp @@ -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: diff --git a/manifests/handler.pp b/manifests/handler.pp index 7d81dcd2cf..ceaaab4080 100644 --- a/manifests/handler.pp +++ b/manifests/handler.pp @@ -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: diff --git a/manifests/rabbitmq.pp b/manifests/rabbitmq.pp index 7328950d55..dbf11343e6 100644 --- a/manifests/rabbitmq.pp +++ b/manifests/rabbitmq.pp @@ -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: diff --git a/manifests/subscription.pp b/manifests/subscription.pp index c2a6633ff7..a309656a09 100644 --- a/manifests/subscription.pp +++ b/manifests/subscription.pp @@ -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 }