Class: Specinfra::Command::Solaris::V10::Group

Inherits:
Base::Group show all
Defined in:
lib/specinfra/command/solaris/v10/group.rb

Class Method Summary collapse

Methods inherited from Base::Group

check_has_gid

Methods inherited from Base::Group

add, check_has_gid, get_gid, update_gid

Methods inherited from Base

create, escape

Class Method Details

.check_exists(group) ⇒ Object



3
4
5
# File 'lib/specinfra/command/solaris/v10/group.rb', line 3

def check_exists(group)
  "getent group | grep -w -- #{escape(group)}"
end