summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-09 13:33:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-09 13:33:50 -0200
commitf09cb7890ca135931f60ca55f503a5d3d6a4fb07 (patch)
tree5aa99bc92e300dcbc2b19628c3bc71081585ab81
parent6fc36046de156b9622f4bddbc4140b6ff89e4ac9 (diff)
downloadpuppet-nodejs-f09cb7890ca135931f60ca55f503a5d3d6a4fb07.tar.gz
puppet-nodejs-f09cb7890ca135931f60ca55f503a5d3d6a4fb07.tar.bz2
Set setup-nodejs-6.x command
-rw-r--r--manifests/init.pp4
1 files 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' ],
}