Sha256: db0d9715cff814dc79c27450420429d8694c46c0ef2bd2d3d6e656b9fcb9a81b

Contents?: true

Size: 271 Bytes

Versions: 279

Compression:

Stored size: 271 Bytes

Contents

class Specinfra::Command::Aix::Base::Group < Specinfra::Command::Base::Group
  class << self
    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
end

Version data entries

279 entries across 279 versions & 3 rubygems

Version Path
specinfra-2.60.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.60.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.6 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.5 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.4 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.59.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.58.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.57.5 lib/specinfra/command/aix/base/group.rb
specinfra-2.57.4 lib/specinfra/command/aix/base/group.rb
specinfra-2.57.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.57.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.57.1 lib/specinfra/command/aix/base/group.rb
specinfra-cisco-2.41.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.57.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.56.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.56.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.55.0 lib/specinfra/command/aix/base/group.rb