From fd2110ceb77f3eb02dc8c6de1ec02b3fbb7bd685 Mon Sep 17 00:00:00 2001 From: Nils Olof Paulsson <nils.olof.paulsson@liu.se> Date: Fri, 13 Oct 2023 15:32:15 +0200 Subject: [PATCH] fix --- manifests/nodejs.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/nodejs.pp b/manifests/nodejs.pp index 4b2d271..258a269 100644 --- a/manifests/nodejs.pp +++ b/manifests/nodejs.pp @@ -2,11 +2,11 @@ class egg::nodejs () { package { 'nodejs': ensure => 'installed', + notify => Exec['install pm2'], } exec { 'install pm2': command => 'npm install pm2 -g', path => ['/bin','/usr/bin'], - refreshonly => true, unless => 'test -f /usr/bin/pm2', require => Package['nodejs'], } -- GitLab