Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 4 commits
  • 2 files changed
  • 0 comments
  • 2 contributors

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  recipes/base_groups.rb
  2. +2 2 recipes/launchers.rb
2  recipes/base_groups.rb
@@ -38,7 +38,7 @@
38 38 grp_members.each do |members|
39 39 begin
40 40 Etc.getpwnam(members)
41   - grp_memebers2 << members
  41 + grp_members2 << members
42 42 rescue ArgumentError => e
43 43 puts 'User '+ members + ' doesn\'t exists'
44 44
4 recipes/launchers.rb
@@ -30,7 +30,7 @@
30 30
31 31 unless Kernel::test('d', launchers_path)
32 32 FileUtils.mkdir_p(launchers_path)
33   - gid = Etc.getpwnam(new_resource.username).gid
  33 + gid = Etc.getpwnam(username).gid
34 34 FileUtils.chown_R(username, gid, launchers_path)
35 35 end
36 36
@@ -38,7 +38,7 @@
38 38 userdata["launchers"]["launchers"].each do |desktopfile|
39 39 if FileTest.exist? desktop_path + desktopfile["name"] and not desktopfile["name"].empty? and not desktopfile["name"].nil?
40 40 FileUtils.cp desktop_path + desktopfile["name"], launchers_path
41   - gid = Etc.getpwnam(new_resource.username).gid
  41 + gid = Etc.getpwnam(username).gid
42 42 FileUtils.chown_R(username, gid, launchers_path + desktopfile["name"])
43 43 FileUtils.chmod 0775, launchers_path + desktopfile["name"]
44 44 end

No commit comments for this range

Something went wrong with that request. Please try again.