summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-09 12:48:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-09 12:48:30 -0200
commit3929a140f8a6adb0849bad87b66ab300eb88c75e (patch)
tree83bc37f587c0dc2902bf61a663aecff620936c3f
parente5650c49d0fcc32218c70628b73ca5b3bca7b751 (diff)
downloadpuppet-nodejs-3929a140f8a6adb0849bad87b66ab300eb88c75e.tar.gz
puppet-nodejs-3929a140f8a6adb0849bad87b66ab300eb88c75e.tar.bz2
Fix param name
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index f5d5f32..a9a5c47 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -3,7 +3,7 @@ class nodejs {
file { '/etc/apt/trusted.gpg.d/nodesource.gpg':
ensure => present,
mode => '0644',
- user => 'root',
+ owner => 'root',
group => 'root',
source => 'file:///puppet/modules/nodejs/nodesource.gpg',
}
@@ -11,14 +11,14 @@ class nodejs {
file { '/usr/local/sbin/setup-nodejs-6.x':
ensure => present,
mode => '0755',
- user => 'root',
+ owner => 'root',
group => 'root',
source => 'file:///puppet/modules/nodejs/setup_6.x.sh',
}
exec { 'setup-nodejs-6.x':
command => "",
- user => "root",
+ owner => "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' ],
}