/[adm]/puppet/modules/postgresql/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/postgresql/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1760 by misc, Fri Jun 17 11:05:25 2011 UTC revision 1761 by misc, Fri Jun 17 12:21:05 2011 UTC
# Line 183  class postgresql { Line 183  class postgresql {
183          exec { "psql -U postgres -c \"$sql\" ":          exec { "psql -U postgres -c \"$sql\" ":
184              user => root,              user => root,
185              environment => "pass=$password",              environment => "pass=$password",
186              unless => "psql -A -t -U postgres -c '\du $name' | grep '$name'",              unless => "psql -A -t -U postgres -c '\\du $name' | grep '$name'",
187              require => Service['postgresql'],              require => Service['postgresql'],
188          }          }
189      }      }

Legend:
Removed from v.1760  
changed lines
  Added in v.1761

  ViewVC Help
Powered by ViewVC 1.1.28