Sha256: 9778e4a9372fe92d46d0bd0113cb786c768a0bc41ac8cc1ceca104f0ee904444

Contents?: true

Size: 209 Bytes

Versions: 124

Compression:

Stored size: 209 Bytes

Contents

module Serverspec
  module Type
    class Group < Base
      def exists?
        backend.check_group(@name)
      end

      def has_gid?(gid)
        backend.check_gid(@name, gid)
      end
    end
  end
end

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
serverspec-1.16.0 lib/serverspec/type/group.rb
serverspec-1.15.0 lib/serverspec/type/group.rb
serverspec-1.14.0 lib/serverspec/type/group.rb
serverspec-1.13.0 lib/serverspec/type/group.rb
serverspec-1.12.0 lib/serverspec/type/group.rb
serverspec-1.11.0 lib/serverspec/type/group.rb
serverspec-1.10.0 lib/serverspec/type/group.rb
serverspec-1.9.1 lib/serverspec/type/group.rb
serverspec-1.9.0 lib/serverspec/type/group.rb
serverspec-1.8.0 lib/serverspec/type/group.rb
serverspec-1.7.1 lib/serverspec/type/group.rb
serverspec-1.7.0 lib/serverspec/type/group.rb
serverspec-1.6.0 lib/serverspec/type/group.rb
serverspec-1.5.0 lib/serverspec/type/group.rb
serverspec-2.0.0.beta2 lib/serverspec/type/group.rb
serverspec-1.4.2 lib/serverspec/type/group.rb
serverspec-2.0.0.beta1 lib/serverspec/type/group.rb
serverspec-1.4.1 lib/serverspec/type/group.rb
serverspec-1.4.0 lib/serverspec/type/group.rb
serverspec-1.3.0 lib/serverspec/type/group.rb