You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have manually installed 'sensu-plugins-mailer' on my sensu server, by running /opt/sensu/embedded/bin/gem install sensu-plugins-mailer. The mailer plugin depends on the 'sensu-plugin' gem, which is also installed.
When I apply my Puppet manifests, the sensu module is trying to remove the 'sensu-plugin' gem, but this fails because of the dependency from 'sensu-plugins-mailer'.
Debug: Prefetching sensu_gem resources for package
Debug: Executing '/opt/sensu/embedded/bin/gem list --local'
Debug: Executing '/opt/sensu/embedded/bin/gem uninstall -x -a sensu-plugin'
Error: Execution of '/opt/sensu/embedded/bin/gem uninstall -x -a sensu-plugin' returned 1: ERROR: While executing gem ... (Gem::DependencyRemovalException)
Uninstallation aborted due to dependent gem(s)
Error: /Stage[main]/Sensu::Package/Package[sensu-plugin]/ensure: change from ["1.2.0"] to absent failed: Execution of '/opt/sensu/embedded/bin/gem uninstall -x -a sensu-plugin' returned 1: ERROR: While executing gem ... (Gem::DependencyRemovalException)
Uninstallation aborted due to dependent gem(s)
How do I tell sensu-puppet (preferably by Hiera) to keep the sensu-plugin gem installed ?
I can only find ways to install plugins by file, or package (without the 'sensu_gem' provider).
The text was updated successfully, but these errors were encountered:
I have manually installed 'sensu-plugins-mailer' on my sensu server, by running
/opt/sensu/embedded/bin/gem install sensu-plugins-mailer
. The mailer plugin depends on the 'sensu-plugin' gem, which is also installed.When I apply my Puppet manifests, the sensu module is trying to remove the 'sensu-plugin' gem, but this fails because of the dependency from 'sensu-plugins-mailer'.
How do I tell sensu-puppet (preferably by Hiera) to keep the sensu-plugin gem installed ?
I can only find ways to install plugins by file, or package (without the 'sensu_gem' provider).
The text was updated successfully, but these errors were encountered: