Sha256: c44d43a1afc8ac336fcbb900530bb005f76988489e1fe0943c70b2dce918da24

Contents?: true

Size: 296 Bytes

Versions: 40

Compression:

Stored size: 296 Bytes

Contents

module Serverspec
  module Commands
    class Gentoo < Base
      def check_enabled service
        "/sbin/rc-update show | grep '^\\s*#{service}\\s*|\\s*\\(boot\\|default\\)'"
      end

      def check_installed package
        "/usr/bin/eix #{package} --installed"
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
serverspec-0.1.5 lib/serverspec/commands/gentoo.rb
serverspec-0.1.4 lib/serverspec/commands/gentoo.rb
serverspec-0.1.3 lib/serverspec/commands/gentoo.rb
serverspec-0.1.2 lib/serverspec/commands/gentoo.rb
serverspec-0.1.1 lib/serverspec/commands/gentoo.rb
serverspec-0.1.0 lib/serverspec/commands/gentoo.rb
serverspec-0.0.19 lib/serverspec/commands/gentoo.rb
serverspec-0.0.18 lib/serverspec/commands/gentoo.rb
serverspec-0.0.17 lib/serverspec/commands/gentoo.rb
serverspec-0.0.16 lib/serverspec/commands/gentoo.rb
serverspec-0.0.15 lib/serverspec/commands/gentoo.rb
serverspec-0.0.14 lib/serverspec/commands/gentoo.rb
serverspec-0.0.13 lib/serverspec/commands/gentoo.rb
serverspec-0.0.12 lib/serverspec/commands/gentoo.rb
serverspec-0.0.11 lib/serverspec/commands/gentoo.rb
serverspec-0.0.10 lib/serverspec/commands/gentoo.rb
serverspec-0.0.9 lib/serverspec/commands/gentoo.rb
serverspec-0.0.8 lib/serverspec/commands/gentoo.rb
serverspec-0.0.7 lib/serverspec/commands/gentoo.rb
serverspec-0.0.6 lib/serverspec/commands/gentoo.rb