Skip to content

Add quotes to backup password to be able to use more complex passwords. #495

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 1 commit into from
Apr 16, 2014
Merged

Conversation

mauerj
Copy link
Contributor

@mauerj mauerj commented Apr 1, 2014

to be able to use generated, complex passwords with special characters in them
it is necessary to quote PASS in the backup script.

@@ -11,7 +11,7 @@
##### START CONFIG ###################################################

USER=<%= @backupuser %>
PASS=<%= @backuppassword %>
PASS="<%= @backuppassword %>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're using quotes, we might want to add single ' quotes, rather than double quotes which might be interpreted by bash, if we have a $ in there… for instance…

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^--- I agree.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, now ' is used instead of ".

@igalic
Copy link
Contributor

igalic commented Apr 14, 2014

@apenney can you kick Travis, or should we just merge this?

@Timokasse
Copy link

I had the same issue and patched it exactly the same way. Please merge this PR.

igalic added a commit that referenced this pull request Apr 16, 2014
Add quotes to backup password to be able to use more complex passwords.
@igalic igalic merged commit b763006 into puppetlabs:master Apr 16, 2014
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.

5 participants