Skip to content

Commit

Permalink
type user: ruby 3 compat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ffrank committed Feb 7, 2024
1 parent 2a361cb commit 055b107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppetx/catalog_translation/type/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module PuppetX::CatalogTranslation
end

spawn :group do
if @resource[:gid] =~ /[a-z]/
if @resource[:gid].is_a? String
@resource[:gid]
end
end
Expand Down

0 comments on commit 055b107

Please sign in to comment.