-
Notifications
You must be signed in to change notification settings - Fork 4
Ducktape modernize #87
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
base: master
Are you sure you want to change the base?
Conversation
7b6f1a1 to
7a589ea
Compare
eae2a4f to
4d9fa93
Compare
| ducktape::apache::shield_vhost::enabled: true | ||
| ducktape::apache::shield_vhost::ensure: 'present' | ||
| ducktape::apache::shield_vhost::port: 80 | ||
| #ducktape::apache::shield_vhost::docroot: "%{lookup('apache::docroot')}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no since apache::docroot might be defined on code instead of hiera
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well for now for these particular cases, when the value of a parameter is a puppet resource/class param, I have left their default values inside the puppet code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Déjalo en la clase y crea un ticket en team para ver si podemos mejorar o simplificar la clase shield_vhost.
| Boolean $enabled, | ||
| Hash $instance_defaults = { | ||
| bind => $::redis::bind, | ||
| port => $::redis::port, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can you represent these variables on the yaml file?
Im guessing
ducktape::redis::external::munin_node_plugin::instance_defaults
bind: lookup(...)
port: lookup(...)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your guess is half right, but again you can't rely on other modules defining it's params on hiera
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Déjalo en la clase.
9cb7656 to
709c2c3
Compare
709c2c3 to
d5dabaa
Compare
d5dabaa to
61d39e6
Compare
No description provided.