From cc54396280acf37ee5bd5b2ddf75c6cc97ed1c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 15 May 2018 22:11:23 +0200 Subject: Cleanup cryptoportfolio old directories --- modules/role/manifests/cryptoportfolio/front.pp | 7 +++++++ 1 file changed, 7 insertions(+) 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 { require => User["$user:"], } + # Cleanup of old directories + file { "${home}/go/src/immae.eu": + ensure => "absent", + force => true, + backup => false, + } + file { "${home}/front": ensure => "link", target => $cf_front_app, -- cgit v1.2.3