Sha256: d70e20cdd4fab794ca72b0aaa35f875d25aa32e8bf7635e232944fcb9fd9993c

Contents?: true

Size: 279 Bytes

Versions: 18

Compression:

Stored size: 279 Bytes

Contents

module SpecInfra
  module Command
    class OpenSUSE < SuSE
      def check_enabled(service, level=nil)
        "systemctl is-enabled #{escape(service)}.service"
      end

      def check_running(service)
        "service #{escape(service)} status"
      end

    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
specinfra-1.27.5 lib/specinfra/command/opensuse.rb
specinfra-1.27.4 lib/specinfra/command/opensuse.rb
specinfra-1.27.3 lib/specinfra/command/opensuse.rb
specinfra-1.27.2 lib/specinfra/command/opensuse.rb
specinfra-1.27.1 lib/specinfra/command/opensuse.rb
specinfra-1.27.0 lib/specinfra/command/opensuse.rb
specinfra-1.26.0 lib/specinfra/command/opensuse.rb
specinfra-1.25.8 lib/specinfra/command/opensuse.rb
specinfra-1.25.7 lib/specinfra/command/opensuse.rb
specinfra-1.25.6 lib/specinfra/command/opensuse.rb
specinfra-1.25.5 lib/specinfra/command/opensuse.rb
specinfra-1.25.4 lib/specinfra/command/opensuse.rb
specinfra-1.25.3 lib/specinfra/command/opensuse.rb
specinfra-1.25.2 lib/specinfra/command/opensuse.rb
specinfra-1.25.1 lib/specinfra/command/opensuse.rb
specinfra-1.25.0 lib/specinfra/command/opensuse.rb
specinfra-1.24.0 lib/specinfra/command/opensuse.rb
specinfra-1.23.1 lib/specinfra/command/opensuse.rb