summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-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' ],
}