Skip to content

Commit

Permalink
Merge pull request #219 from buzzdeee/master
Browse files Browse the repository at this point in the history
Do not hardcode the 'root' group name, use the 'gid' for that.
  • Loading branch information
igalic committed Apr 21, 2016
2 parents dc08606 + 3874378 commit 0576605
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
path => '/root/.npmrc',
content => template('nodejs/npmrc.erb'),
owner => 'root',
group => 'root',
group => '0',
mode => '0600',
}
}
2 changes: 1 addition & 1 deletion manifests/repo/nodesource/yum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

file { '/etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL':
ensure => file,
group => 'root',
group => '0',
mode => '0644',
owner => 'root',
source => "puppet:///modules/${module_name}/repo/nodesource/NODESOURCE-GPG-SIGNING-KEY-EL",
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/nodejs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
'ensure' => 'file',
'path' => '/root/.npmrc',
'owner' => 'root',
'group' => 'root',
'group' => '0',
'mode' => '0600',
)
end
Expand Down

0 comments on commit 0576605

Please sign in to comment.