aboutsummaryrefslogtreecommitdiff
path: root/modules/role/manifests/cryptoportfolio.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/role/manifests/cryptoportfolio.pp')
-rw-r--r--modules/role/manifests/cryptoportfolio.pp12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp
index 9a2bfd2..5860f90 100644
--- a/modules/role/manifests/cryptoportfolio.pp
+++ b/modules/role/manifests/cryptoportfolio.pp
@@ -1,9 +1,15 @@
1class role::cryptoportfolio { 1class role::cryptoportfolio {
2 ensure_resource('exec', 'systemctl daemon-reload', {
3 command => '/usr/bin/systemctl daemon-reload',
4 refreshonly => true
5 })
6
2 include "base_installation" 7 include "base_installation"
3 8
4 include "profile::tools" 9 include "profile::tools"
5 include "profile::postgresql" 10 include "profile::postgresql"
6 include "profile::apache" 11 include "profile::apache"
12 include "profile::xmr_stak"
7 13
8 $password_seed = lookup("base_installation::puppet_pass_seed") |$key| { {} } 14 $password_seed = lookup("base_installation::puppet_pass_seed") |$key| { {} }
9 15
@@ -244,9 +250,7 @@ class role::cryptoportfolio {
244 owner => "root", 250 owner => "root",
245 group => "root", 251 group => "root",
246 content => template("role/cryptoportfolio/cryptoportfolio-app.service.erb"), 252 content => template("role/cryptoportfolio/cryptoportfolio-app.service.erb"),
247 } ~> exec { 'systemctl deamon-reload': 253 notify => Exec["systemctl daemon-reload"],
248 command => '/usr/bin/systemctl daemon-reload',
249 refreshonly => true
250 } 254 }
251 255
252 service { 'cryptoportfolio-app': 256 service { 'cryptoportfolio-app':
@@ -303,6 +307,4 @@ class role::cryptoportfolio {
303 require => [File[$cf_front_app_static_conf], Exec["web-cryptoportfolio-dependencies"]] 307 require => [File[$cf_front_app_static_conf], Exec["web-cryptoportfolio-dependencies"]]
304 } 308 }
305 } 309 }
306
307 # TODO: xmr_stack
308} 310}