diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-09 12:48:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-09 12:48:30 -0200 |
commit | 3929a140f8a6adb0849bad87b66ab300eb88c75e (patch) | |
tree | 83bc37f587c0dc2902bf61a663aecff620936c3f /manifests | |
parent | e5650c49d0fcc32218c70628b73ca5b3bca7b751 (diff) | |
download | puppet-nodejs-3929a140f8a6adb0849bad87b66ab300eb88c75e.tar.gz puppet-nodejs-3929a140f8a6adb0849bad87b66ab300eb88c75e.tar.bz2 |
Fix param name
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 6 |
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' ], } |