Open gopalvd opened 7 years ago
when you install as a gem it will be placed under the embedded ruby path which would be /opt/sensu/embedded/bin
. For any plugins you choose to not package as gems you can install it it would best be placed under /etc/sensu/plugins
If you want to see the code that makes this work:
Hi,
I have used the below code snippet in my cookbook recipe, I tried this on windows server.
sensu_gem 'sensu-plugins-windows' do version '0.0.10' end
When the recipe is executed, the plugins are copied to C:/opt/sensu/embedded/bin directory. Actually I was expected this in C:/etc/sensu/plugins directory. Can you show some light why its is going to C:/opt/sensu/embedded/bin directory, and where is this defined in the sensu cookbook.?