Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base: e4260cb232
...
compare: bbeb84419b
  • 4 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Showing with 3 additions and 3 deletions.
  1. +1 −1  recipes/base_groups.rb
  2. +2 −2 recipes/launchers.rb
2  recipes/base_groups.rb
View
@@ -38,7 +38,7 @@
grp_members.each do |members|
begin
Etc.getpwnam(members)
- grp_memebers2 << members
+ grp_members2 << members
rescue ArgumentError => e
puts 'User '+ members + ' doesn\'t exists'
4 recipes/launchers.rb
View
@@ -30,7 +30,7 @@
unless Kernel::test('d', launchers_path)
FileUtils.mkdir_p(launchers_path)
- gid = Etc.getpwnam(new_resource.username).gid
+ gid = Etc.getpwnam(username).gid
FileUtils.chown_R(username, gid, launchers_path)
end
@@ -38,7 +38,7 @@
userdata["launchers"]["launchers"].each do |desktopfile|
if FileTest.exist? desktop_path + desktopfile["name"] and not desktopfile["name"].empty? and not desktopfile["name"].nil?
FileUtils.cp desktop_path + desktopfile["name"], launchers_path
- gid = Etc.getpwnam(new_resource.username).gid
+ gid = Etc.getpwnam(username).gid
FileUtils.chown_R(username, gid, launchers_path + desktopfile["name"])
FileUtils.chmod 0775, launchers_path + desktopfile["name"]
end

No commit comments for this range

Something went wrong with that request. Please try again.