Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gem_package[sensu-plugins-windows] action install #541

Open
gopalvd opened this issue Feb 27, 2017 · 1 comment
Open

gem_package[sensu-plugins-windows] action install #541

gopalvd opened this issue Feb 27, 2017 · 1 comment

Comments

@gopalvd
Copy link

gopalvd commented Feb 27, 2017

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.?

@majormoses
Copy link
Contributor

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants