-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
ensure => absent
fails on el5/el6 if net-snmp-utils is installed
#20
Comments
I will have to dig into this. I might lean toward I am not happy that |
The logic behind that is that yum will try to remove everything that I think there may be a way to force it to use yum for the removal but |
👍 This looks great / much less confusing. |
@jhoblitt You wouldn't happen to know how to test the Puppet This just does not work in rspec-puppet:
|
Unfortunately, you can't test if a function call happened that way because the contain_* methods inspect the state of the generated catalog (which only contains resources). The only solution I've come up with for warnings is to look for the string in the stderr with rspec-system/beaker. Eg: https://github.com/puppetlabs/puppetlabs-concat/blob/master/spec/acceptance/deprecation_warnings_spec.rb |
Ah, yes. That makes sense now. I keep getting client catalog confused with server-side stuff. |
This ships in Forge release 3.2.0. |
Fabulous! |
This module is able to install net-snmp-utils on el{56}.x by setting
install_client => true
but won't uninstall viaensure => absent
unlessinstall_client => true
is also set. Eg.This is a minor nitpick but I find the parameter misleading. Perhaps
manage_client
would be more intutive? Or would it make sense forensure => absent
to explicity set the same onsnmp::client
?The text was updated successfully, but these errors were encountered: