class Serverspec::Type::Group
Public Instance Methods
exists?()
click to toggle source
# File lib/serverspec/type/group.rb, line 3 def exists? @runner.check_group_exists(@name) end
gid()
click to toggle source
# File lib/serverspec/type/group.rb, line 7 def gid @runner.get_group_gid(@name).stdout.to_i end
has_gid?(gid)
click to toggle source
# File lib/serverspec/type/group.rb, line 11 def has_gid?(gid) @runner.check_group_has_gid(@name, gid) end