From f09cb7890ca135931f60ca55f503a5d3d6a4fb07 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Nov 2017 13:33:50 -0200 Subject: Set setup-nodejs-6.x command --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 47c9bbf..6ac115d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,8 +17,8 @@ class nodejs { } exec { 'setup-nodejs-6.x': - command => "", - user => "root", + command => '/usr/local/sbin/setup-nodejs-6.x', + user => 'root', creates => '/etc/apt/sources.list.d/nodesource.list', require => File['/etc/apt/trusted.gpg.d/nodesource.gpg', '/usr/local/sbin/setup-nodejs-6.x' ], } -- cgit v1.2.3