Sha256: 16f1278a38d10d0441417ed95341c55f39f1fe974b9b0d536caa3a33390c935b

Contents?: true

Size: 241 Bytes

Versions: 9

Compression:

Stored size: 241 Bytes

Contents

class Specinfra::Command::Aix::Base::Group < Specinfra::Command::Base::Group
  def check_has_gid(group, gid)
    regexp = "^#{group}"
    "cat etc/group | grep -w -- #{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/aix/base/group.rb
specinfra-2.0.0.beta14 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta13 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta12 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta11 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta10 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta9 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta8 lib/specinfra/command/aix/base/group.rb
specinfra-2.0.0.beta7 lib/specinfra/command/aix/base/group.rb