Method: Specinfra::Command::Solaris::V10::Group.check_exists

Defined in:
lib/specinfra/command/solaris/v10/group.rb

.check_exists(group) ⇒ Object

[View source]

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

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