]>
Commit | Line | Data |
---|---|---|
1 | class role::cryptoportfolio { | |
2 | include "base_installation" | |
3 | ||
4 | include "profile::postgresql" | |
5 | ||
6 | $password_seed = lookup("base_installation::puppet_pass_seed") |$key| { {} } | |
7 | ||
8 | postgresql::server::db { 'cryptoportfolio': | |
9 | user => 'cryptoportfolio', | |
10 | password => postgresql_password('cryptoportfolio', generate_password(24, $password_seed, "postgres_cryptoportfolio")), | |
11 | } | |
12 | ||
13 | ensure_packages("go") | |
14 | } |