diff options
Diffstat (limited to 'modules/epoll')
-rw-r--r-- | modules/epoll/manifests/init.pp | 4 | ||||
-rw-r--r-- | modules/epoll/templates/epoll.yml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/epoll/manifests/init.pp b/modules/epoll/manifests/init.pp index e32990c9..89a2ce4c 100644 --- a/modules/epoll/manifests/init.pp +++ b/modules/epoll/manifests/init.pp @@ -14,10 +14,10 @@ class epoll { apache::vhost_redirect_ssl { $vhost: } - $password = extlookup("epoll_password",'x') + $pgsql_password = extlookup("epoll_pgsql",'x') @@postgresql::user { 'epoll': - password => $password, + password => $pgsql_password, } diff --git a/modules/epoll/templates/epoll.yml b/modules/epoll/templates/epoll.yml index 74e44efd..0ca519c9 100644 --- a/modules/epoll/templates/epoll.yml +++ b/modules/epoll/templates/epoll.yml @@ -2,7 +2,7 @@ name: Vote # db: connection, see libpq documentation # dbname=BASENAME;host=SERVER;user=USER;password=PASS -db: dbname=epoll;host=localhost;user=epoll;password=<%= password %> +db: dbname=epoll;host=localhost;user=epoll;password=<%= pgsql_password %> # The smtp serveur to use, default is localhost # smtp: # This change the poll creation behavior, instead ask want confirmation by |