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-rb19-2.44.7 lib/specinfra/command/aix/base/group.rb
specinfra-2.66.4 lib/specinfra/command/aix/base/group.rb
specinfra-2.66.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.66.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.66.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.66.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.65.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.64.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.63.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.63.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.63.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.63.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.62.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.61.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.61.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.61.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.61.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.60.4 lib/specinfra/command/aix/base/group.rb
specinfra-2.60.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.60.2 lib/specinfra/command/aix/base/group.rb