diff --git a/lib/puppetx/catalog_translation/type/user.rb b/lib/puppetx/catalog_translation/type/user.rb index fe69955..928c031 100644 --- a/lib/puppetx/catalog_translation/type/user.rb +++ b/lib/puppetx/catalog_translation/type/user.rb @@ -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