Skip to content

Make database_password an optional parameter#78

Merged
cprice404 merged 1 commit intopuppetlabs:masterfrom
nicklewis:optional-password
Aug 12, 2013
Merged

Make database_password an optional parameter#78
cprice404 merged 1 commit intopuppetlabs:masterfrom
nicklewis:optional-password

Conversation

@nicklewis
Copy link
Copy Markdown
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
Copy Markdown

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

@kbarber-jenkins-bot
Copy link
Copy Markdown

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

@kbarber-jenkins-bot
Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

Closing this since it shouldn't be against master.

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

Actually, that works.

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

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

@kbarber-jenkins-bot
Copy link
Copy Markdown

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

@kbarber-jenkins-bot
Copy link
Copy Markdown

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
Copy Markdown
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