-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
make ensure for package and service configurable #11
Conversation
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.
first off, thank you very much for this pull request, in particular for filling the gaps in the documentation.
before accepting this pr, i would like you to make the change i requested above: we shouldn't change existing behaviour, especially when that change could lead to very unintended consequences.
manifests/params.pp
Outdated
@@ -5,7 +5,10 @@ | |||
# | |||
class proxysql::params { | |||
$package_name = 'proxysql' | |||
$package_ensure = 'latest' |
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.
please leave this, by default, as installed
You have a valid point! I've updated the PR. |
spec/classes/proxysql_spec.rb
Outdated
it { is_expected.to contain_class('mysql::client').with(bindings_enable: false) } | ||
|
||
it { is_expected.to contain_package('proxysql').with_ensure('present') } | ||
it { is_expected.to contain_package('proxysql').with_ensure('latest') } |
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.
this is going to be wrong now ;)
make ensure for package and service configurable
No description provided.