aboutsummaryrefslogblamecommitdiff
path: root/modules/role/manifests/cryptoportfolio.pp
blob: 2755fee82934e133ba9715c6ce5fa9ab787bc388 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                                                           
class role::cryptoportfolio {
  include "base_installation"

  include "profile::postgresql"

  $password_seed = lookup("base_installation::puppet_pass_seed") |$key| { {} }

  postgresql::server::db { 'cryptoportfolio':
    user =>  'cryptoportfolio',
    password =>  postgresql_password('cryptoportfolio', generate_password(24, $password_seed, "postgres_cryptoportfolio")),
  }

  ensure_packages("go")
}