From 3929a140f8a6adb0849bad87b66ab300eb88c75e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Nov 2017 12:48:30 -0200 Subject: Fix param name --- manifests/init.pp | 6 +++--- 1 file 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' ], } -- cgit v1.2.3