Comments (5)
That works for me. Is there anyone specific you suggest I should ask for feedback
The #voxpupuli
on the Puppet Slack or Vox's IRC channel would probably be good places to get opinions (or help), or you could see if @ekohl wants to weigh in.
I would also definitely suggest getting the integration tests working locally in Docker if at all possible - it'll really help testing / iteration, as well as making sure that your acceptance tests more or less work before you push up. You can spin up the test with BEAKER_destroy=no
and exec in after it's done and then use that to try different stuff.
Or do a version check to decide which to use as default?
I think Vox typically tries to keep behavior consistent within the module within reason (vs. tying default behavior to the RMQ version). There's still a quite of bit of work to do anyway if this module is ever going to properly ship with RMQ 4.x by default (or, probably, even support it), so, with the caveat that I haven't used RMQ or Puppet for quite some number of years, I would say use classic as the default, and if / when the default behavior changes, ideally, update the default along with that (or update as another breaking change). But it's not a strong preference from my end.
from puppet-rabbitmq.
@wyardley I thought I might take a stab at this. How do you feel about this syntax?
rabbitmq_vhost { 'myvhost':
ensure => present,
metadata => {
'description' => 'myvhost description',
'default_queue_type' => 'quorum',
'tags' => 'myvhost tags',
}
}
from puppet-rabbitmq.
Maybe get some other feedback too, but my high level thought is that maybe some or all of these should be first class params vs in a metadata
hash? in particular, with tags
, there seems to be a pattern of having a tags
list for some resource types which I think are roughly analagous, e.g.,
Could some of these be actual (optional, if needed), attributes, so you'd end up with something like this?
rabbitmq_vhost { 'myvhost':
ensure => present,
tags => ['myvhost tags'],
default_queue_type => 'quorum',
}
from puppet-rabbitmq.
That works for me. Is there anyone specific you suggest I should ask for feedback>
from puppet-rabbitmq.
The other question is should we make quorum queues the default queue type if not specified. Currently RMQ defaults to Classic Queues, but these will be removed in RMQ 4 so does it make more sense to make it the default in the module now. Or do a version check to decide which to use as default?
from puppet-rabbitmq.
Related Issues (20)
- rabbitmq_vhost resource not idempotent with a description HOT 5
- 'queue-version' value not converted to integer in rabbitmq_policy.rb HOT 4
- Idempotency issue with implicitly enabled plugins
- PackageCloud repos are no longer available (see RabbitMQ issue) HOT 2
- Method to enable HSTS? HOT 1
- rabbitmq_queue takes a long time when a large number of vhosts is present
- rabbitmq::install::rabbitmqadmin keeps installing python package HOT 2
- Question: Will support be added for Puppet 8 and RHEL8? HOT 5
- Policy "applyto" options missing HOT 2
- ldap_log should be string not boolean to support network/network_unsafe options HOT 3
- resources fail to prefetch when rabbitmq is not intended to be installed (via --noop or --tags) HOT 5
- puppet-archive version HOT 2
- Use epp template to handle sensitive data
- Add support for policy definition consumer-timeout as a integer HOT 1
- Failing with "Language validation logged 2 errors" HOT 2
- Module fails on puppet 7.29.0 + puppetserver 7.16.0 HOT 2
- Literal Type errors HOT 1
- v13.4.0 release summary
- could not find class ::epel when upgrading to 13.4.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-rabbitmq.