File: group.rb

package info (click to toggle)
ruby-serverspec 2.41.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 984 kB
  • sloc: ruby: 4,780; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
module Serverspec::Type
  class Group < Base
    def exists?
      @runner.check_group_exists(@name)
    end

    def has_gid?(gid)
      @runner.check_group_has_gid(@name, gid)
    end
  end
end