Skip to content

Instantly share code, notes, and snippets.

@Enome
Created February 11, 2013 20:32
Show Gist options
  • Save Enome/4757346 to your computer and use it in GitHub Desktop.
Save Enome/4757346 to your computer and use it in GitHub Desktop.
1 class {'postgresql::server':
2 listen => ['*',],
3 acl => ['host all all 0.0.0.0/0 md5', 'local all all trust', ],
4 }
5
6 postgresql::db { 'arrowbreaker':
7 password => 'afsdasdfasdf',
8 owner => 'arrowbreaker',
9 require => Service['postgresql-system-9.1'],
10 }
11
12 pg_user {'vagrant':
13 ensure => present,
14 password => '1234',
15 superuser => true,
16 require => Service['postgresql-system-9.1'],
17 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment