Skip to content

Commit

Permalink
Fixed an issue with some specific names
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianOellegaard committed May 18, 2012
1 parent 511fdd0 commit be2b49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/manifests/role.pp
Expand Up @@ -21,7 +21,7 @@
present: {
# The createuser command always prompts for the password.
exec { "Create $name postgres role":
command => "/usr/bin/psql -c \"CREATE USER \"$name\" $passtext \" ",
command => "/usr/bin/psql -c \"CREATE USER \\\"$name\\\" $passtext \" ",
user => "postgres",
unless => "/usr/bin/psql -c '\\du' | grep '^ *$name *|'",
require => Package["postgresql"],
Expand Down

0 comments on commit be2b49b

Please sign in to comment.