]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Cleanup cryptoportfolio old directories
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 15 May 2018 20:11:23 +0000 (22:11 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 15 May 2018 20:15:43 +0000 (22:15 +0200)
modules/role/manifests/cryptoportfolio/front.pp

index cf73a27054eff9939efdd3c84d32f8890c4d5832..0aa419fe47d64f246780e7c7f73e0a3fefe0a3bc 100644 (file)
@@ -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,