<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,7 @@ define postgres::role($ensure, $password = false) {
             exec { &quot;Create $name postgres role&quot;:
                 command =&gt; &quot;/usr/bin/psql -c \&quot;CREATE ROLE $name $passtext\&quot;&quot;,
                 user =&gt; &quot;postgres&quot;,
-                unless =&gt; &quot;/usr/bin/psql -c '\\du' | grep '^  *$name'&quot;
+                unless =&gt; &quot;/usr/bin/psql -c '\\du' | grep '^  *$name  *|'&quot;
             }
         }
         absent:  {</diff>
      <filename>manifests/role.pp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>603a51ddcd392254b33e8c9c907566ec08d8a47e</id>
    </parent>
  </parents>
  <author>
    <name>Rick Bradley</name>
    <email>rick@rickbradley.com</email>
  </author>
  <url>http://github.com/lak/puppet-postgres/commit/9682a28b19a9c5618878706ad4870cf26944dc0b</url>
  <id>9682a28b19a9c5618878706ad4870cf26944dc0b</id>
  <committed-date>2009-08-07T14:13:37-07:00</committed-date>
  <authored-date>2009-08-07T14:13:37-07:00</authored-date>
  <message>Fixing bad regex when searching for existing postgres user.

Usernames which match a substring might be considered the candidate username,
preventing users from being created.</message>
  <tree>57a77d0fb2c53e17bc7aea88081e4ab11b26d8e9</tree>
  <committer>
    <name>Rick Bradley</name>
    <email>rick@rickbradley.com</email>
  </committer>
</commit>
