Skip to content

Commit 5b7047d

Browse files
committed
Fix error with extension configuration creation.
Missed change required for file{} to pre-create the JSON file, resulting in the configuration being removed by Sensu::Package before being recreated by sensu_extension.
1 parent a96ebc8 commit 5b7047d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/extension.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#
1616
# [*install_path*]
1717
# String. Path to install the extension
18-
# Default: /etc/sensu/extensions/handlers
18+
# Default: /etc/sensu/extensions
1919
#
2020
# [*config*]
2121
# Hash. Extension specific config
@@ -56,7 +56,7 @@
5656
source => $source,
5757
}
5858

59-
file { "/etc/sensu/conf.d/handlers/${name}.json":
59+
file { "/etc/sensu/conf.d/extensions/${name}.json":
6060
ensure => $ensure,
6161
owner => 'sensu',
6262
group => 'sensu',

0 commit comments

Comments
 (0)