Sha256: 489c5d26b4105fad7e941c00842761317902e3e4ff8188dcb2872d247143cca1

Contents?: true

Size: 762 Bytes

Versions: 12

Compression:

Stored size: 762 Bytes

Contents

module Sprinkle
  module Installers
    # = Zypper Installer
    #
    # Zypper is a command-line interface to ZYpp system management library.
    # It mostly be used on Suse or OpenSuse.
    # 
    # == Example Usage
    #
    # Installing the magic_beans package via Zypper. Its all the craze these days.
    #
    #   package :magic_beans do
    #     zypper 'magic_beans'
    #   end
    #
    # You may also specify multiple packages as an argument list or array:
    #
    #   package :magic_beans do
    #     zypper "magic_beans", "magic_sauce"
    #   end
    class Zypper < PackageInstaller
      
      auto_api

      protected

      def install_commands #:nodoc:
        "zypper -n install -l -R #{@packages.join(' ')}"
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sprinkle-0.7.1.1 lib/sprinkle/installers/zypper.rb
sprinkle-0.7.1 lib/sprinkle/installers/zypper.rb
sprinkle-0.7 lib/sprinkle/installers/zypper.rb
sprinkle-0.6.2 lib/sprinkle/installers/zypper.rb
sprinkle-0.6.1.1 lib/sprinkle/installers/zypper.rb
sprinkle-0.6.1 lib/sprinkle/installers/zypper.rb
sprinkle-0.6.0 lib/sprinkle/installers/zypper.rb
sprinkle-0.5.2 lib/sprinkle/installers/zypper.rb
sprinkle-0.5.1.1 lib/sprinkle/installers/zypper.rb
sprinkle-0.5.1 lib/sprinkle/installers/zypper.rb
sprinkle-0.5.0 lib/sprinkle/installers/zypper.rb
sprinkle-0.5.0.rc1 lib/sprinkle/installers/zypper.rb