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 database_password an optional parameter #78

Merged
merged 1 commit into from
Aug 12, 2013

Conversation

nicklewis
Copy link
Contributor

In some cases it may not be possible to securely specify a password for
PuppetDB. When that is true, it's impossible to use the module to manage
PuppetDB, because specifying undef for the password will cause database
validation to fail, or for the setting in database.ini to be overridden.

This change will simply check that database_password is set, and will skip
validation and changing database.ini in the case where it is not.

@kbarber-jenkins-bot
Copy link

Merged build triggered. (Status: PENDING, Details: null)

@kbarber-jenkins-bot
Copy link

Merged build started. (Status: PENDING, Details: http://box.bob.sh:8080/job/puppetlabs-puppetdb/181/)

@kbarber-jenkins-bot
Copy link

Merged build finished. (Status: SUCCESS, Details: http://box.bob.sh:8080/job/puppetlabs-puppetdb/181/)

In some cases it may not be possible to securely specify a password for
PuppetDB. When that is true, it's impossible to use the module to manage
PuppetDB, because specifying undef for the password will cause database
validation to fail, or for the setting in database.ini to be overridden.

This change will simply check that database_password is set, and will
skip validation and changing database.ini in the case where it is not.
@nicklewis
Copy link
Contributor Author

Closing this since it shouldn't be against master.

@nicklewis nicklewis closed this Aug 12, 2013
@nicklewis
Copy link
Contributor Author

Actually, that works.

@nicklewis nicklewis reopened this Aug 12, 2013
@kbarber-jenkins-bot
Copy link

Build triggered. (Status: PENDING, Details: null)

@kbarber-jenkins-bot
Copy link

Merged build started. (Status: PENDING, Details: http://box.bob.sh:8080/job/puppetlabs-puppetdb/182/)

@kbarber-jenkins-bot
Copy link

Merged build finished. (Status: SUCCESS, Details: http://box.bob.sh:8080/job/puppetlabs-puppetdb/182/)

@cprice404 cprice404 closed this Aug 12, 2013
@nicklewis
Copy link
Contributor Author

Updated so it should merge clean.

@nicklewis nicklewis reopened this Aug 12, 2013
cprice404 added a commit that referenced this pull request Aug 12, 2013
Make database_password an optional parameter
@cprice404 cprice404 merged commit dd57e38 into puppetlabs:master Aug 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants