aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-15 22:11:23 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-15 22:15:43 +0200
commitcc54396280acf37ee5bd5b2ddf75c6cc97ed1c05 (patch)
tree3f83b53230a61776851f0a680e83afff1da7fc2a
parent724d165cc93acbebfaf662a80f6bc6bb3c689ce0 (diff)
downloadPuppet-cc54396280acf37ee5bd5b2ddf75c6cc97ed1c05.tar.gz
Puppet-cc54396280acf37ee5bd5b2ddf75c6cc97ed1c05.tar.zst
Puppet-cc54396280acf37ee5bd5b2ddf75c6cc97ed1c05.zip
Cleanup cryptoportfolio old directories
-rw-r--r--modules/role/manifests/cryptoportfolio/front.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/role/manifests/cryptoportfolio/front.pp b/modules/role/manifests/cryptoportfolio/front.pp
index cf73a27..0aa419f 100644
--- a/modules/role/manifests/cryptoportfolio/front.pp
+++ b/modules/role/manifests/cryptoportfolio/front.pp
@@ -33,6 +33,13 @@ class role::cryptoportfolio::front inherits role::cryptoportfolio {
33 require => User["$user:"], 33 require => User["$user:"],
34 } 34 }
35 35
36 # Cleanup of old directories
37 file { "${home}/go/src/immae.eu":
38 ensure => "absent",
39 force => true,
40 backup => false,
41 }
42
36 file { "${home}/front": 43 file { "${home}/front":
37 ensure => "link", 44 ensure => "link",
38 target => $cf_front_app, 45 target => $cf_front_app,