diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-21 20:42:04 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-02-22 08:51:03 +0100 |
commit | 68bbff6199a64dd32739487334260962261f7195 (patch) | |
tree | 794e241f90cc71d9e198e3d45c7c67fa54ccbddf /modules/role/manifests | |
parent | 5de12d78299821e8ed09c492fa884e9742ed95d6 (diff) | |
download | Puppet-68bbff6199a64dd32739487334260962261f7195.tar.gz Puppet-68bbff6199a64dd32739487334260962261f7195.tar.zst Puppet-68bbff6199a64dd32739487334260962261f7195.zip |
Add xmr-stak
Diffstat (limited to 'modules/role/manifests')
-rw-r--r-- | modules/role/manifests/cryptoportfolio.pp | 12 |
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 @@ | |||
1 | class role::cryptoportfolio { | 1 | class 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 | } |