Skip to content

Commit

Permalink
Fix error with extension configuration creation.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonathanio committed Jan 16, 2015
1 parent a96ebc8 commit 5b7047d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/extension.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
# [*install_path*]
# String. Path to install the extension
# Default: /etc/sensu/extensions/handlers
# Default: /etc/sensu/extensions
#
# [*config*]
# Hash. Extension specific config
Expand Down Expand Up @@ -56,7 +56,7 @@
source => $source,
}

file { "/etc/sensu/conf.d/handlers/${name}.json":
file { "/etc/sensu/conf.d/extensions/${name}.json":
ensure => $ensure,
owner => 'sensu',
group => 'sensu',
Expand Down

0 comments on commit 5b7047d

Please sign in to comment.