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.44.8 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.7 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.6 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.5 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.4 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.1 lib/specinfra/command/aix/base/group.rb
specinfra-2.44.0 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.11 lib/specinfra/command/aix/base/group.rb
specinfra-cisco-2.40.2 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.10 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.9 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.8 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.7 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.6 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.5 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.4 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.3 lib/specinfra/command/aix/base/group.rb
specinfra-2.43.2 lib/specinfra/command/aix/base/group.rb