-
-
Notifications
You must be signed in to change notification settings - Fork 499
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
Some boolean properties were being ignored when false
.
#712
Conversation
883f074
to
59cca21
Compare
This makes some sense to me; I have a few questions, though:
|
Hi @wyardley
No, they don't seem to use this kind of logic.
I was using
hiera.
Even if we do, the The
profile_rabbitmq::exchanges
'foo-notifications-e@/':
durable: false
type: 'direct' |
I’m not totally sure about that; seeing if @bastelfreak has any thoughts |
About what in particular? |
Sorry, I think I meant in response to your question about whether nil is a valid use case here. |
https://github.com/voxpupuli/puppet-rabbitmq/blob/v8.2.2/lib/puppet/provider/rabbitmq_queue/rabbitmqadmin.rb#L85 would be kind of similar situation, I think (and doesn't have that guard clause). I'll wait for someone else to weigh in, and will do a quick test on a vagrant box, but I'm +1 on this. |
They also seem to default to |
Tested this locally, and it does seem to work as expected. rabbitmq_exchange { 'exchange2@host2':
user => 'dan',
password => 'bar',
type => 'topic',
durable => false,
ensure => present,
} |
Is it possible to do a release including this fix? |
I plan a new release as soon as #716 got merged. |
Awesome. thanks. |
For instance, if you set
durable = false
it would not definedurable
which would default totrue
.