safeguard on license generation in puppet modules

Signed-off-by: Sebastien Varrette <sebastien.varrette@uni.lu>