mirror of https://github.com/zulip/zulip.git
puppet: Add postgres user to Zulip group.
This commit is contained in:
parent
04fc3ff1e1
commit
1c65508624
|
@ -47,4 +47,11 @@ class zulip::postgres_common {
|
||||||
source => "puppet:///modules/zulip/postgresql/pg_backup_and_purge.py",
|
source => "puppet:///modules/zulip/postgresql/pg_backup_and_purge.py",
|
||||||
require => File["/usr/local/bin/env-wal-e"],
|
require => File["/usr/local/bin/env-wal-e"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Use arcane puppet virtual resources to add postgres user to zulip group
|
||||||
|
@user { 'postgres':
|
||||||
|
groups => ['ssl-cert'],
|
||||||
|
membership => minimum,
|
||||||
|
}
|
||||||
|
User <| title == postgres |> { groups +> "zulip" }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue