Skip to content
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

Merged
merged 4 commits into from
Feb 11, 2017

Conversation

mcrauwel
Copy link
Member

No description provided.

@mcrauwel mcrauwel added the enhancement New feature or request label Feb 11, 2017
Copy link
Contributor

@igalic igalic left a 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.

@@ -5,7 +5,10 @@
#
class proxysql::params {
$package_name = 'proxysql'
$package_ensure = 'latest'
Copy link
Contributor

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

@mcrauwel
Copy link
Member Author

You have a valid point! I've updated the PR.

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') }
Copy link
Contributor

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 ;)

@igalic igalic merged commit cb9bc2c into voxpupuli:master Feb 11, 2017
@mcrauwel mcrauwel deleted the configure_ensure branch February 12, 2017 12:42
cegeka-jenkins pushed a commit to cegeka/puppet-proxysql that referenced this pull request Aug 22, 2023
make ensure for package and service configurable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants