Skip to content

#puppethack allow undef value for bind-address #1035

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

Merged
merged 2 commits into from
Dec 7, 2017
Merged

#puppethack allow undef value for bind-address #1035

merged 2 commits into from
Dec 7, 2017

Conversation

JvGinkel
Copy link
Contributor

@JvGinkel JvGinkel commented Dec 7, 2017

https://tickets.puppetlabs.com/browse/MODULES-3168

If set bind-address to undef the bind-address will not be set in the mysql-config file so MySQL is listening on all interfaces.

class { '::mysql::server':
  override_options => {
    mysqld => {
      bind-address => undef,
    },
}

If set `bind-address` to `undef` the bind-address will not be set in the mysql-config file so MySQL is listening on all interfaces.

```puppet
class { '::mysql::server':
  override_options => {
    mysqld => {
      bind-address => undef,
    },
}
```
@eputnam
Copy link
Contributor

eputnam commented Dec 7, 2017

@JvGinkel we'd be more than happy to merge your tests in but it seems like the template change is not necessary. If you run the tests without the change, they still pass.

@JvGinkel
Copy link
Contributor Author

JvGinkel commented Dec 7, 2017

@eputnam you are right! I have revert the template and fix the rubocop issues.

@eputnam eputnam merged commit 20599ea into puppetlabs:master Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants