Sha256: 35a6933fe1bcbbbca5dc6e937b3307437d7b2414bb0535b96703d45d3b4764c0

Contents?: true

Size: 242 Bytes

Versions: 9

Compression:

Stored size: 242 Bytes

Contents

class Specinfra::Command::Solaris::Base::Group < Specinfra::Command::Base::Group
  def check_has_gid(group, gid)
    regexp = "^#{group}:"
    "getent group | grep -- #{escape(regexp)} | cut -f 3 -d ':' | grep -w -- #{escape(gid)}"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta14 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta13 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta12 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta11 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta10 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta9 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta8 lib/specinfra/command/solaris/base/group.rb
specinfra-2.0.0.beta7 lib/specinfra/command/solaris/base/group.rb