class Specinfra::Command::Aix::Base::Group
Public Class Methods
check_has_gid(group, gid)
click to toggle source
# File lib/specinfra/command/aix/base/group.rb, line 3 def check_has_gid(group, gid) regexp = "^#{group}" "cat etc/group | grep -w -- #{escape(regexp)} | cut -f 3 -d ':' | grep -w -- #{escape(gid)}" end