Sha256: cae2fa937383e940f9d29522c6a12bff8af44b75ac96b05f4830e2cc3f8e4e99

Contents?: true

Size: 366 Bytes

Versions: 19

Compression:

Stored size: 366 Bytes

Contents

module Sprinkle
  module Installers
    class Smart < PackageInstaller
      
      api do
        def smart(*names, &block)
          install Smart.new(self, *names, &block)
        end
      end

      protected

      def install_commands #:nodoc:
        "smart install #{@packages.join(' ')} -y 2>&1 | tee -a /var/log/smart-sprinkle"
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sprinkle-0.7.7 lib/sprinkle/installers/smart.rb
sprinkle-0.7.6.2 lib/sprinkle/installers/smart.rb
sprinkle-0.7.6.1 lib/sprinkle/installers/smart.rb
sprinkle-0.7.6 lib/sprinkle/installers/smart.rb
sprinkle-0.7.5 lib/sprinkle/installers/smart.rb
sprinkle-0.7.4 lib/sprinkle/installers/smart.rb
sprinkle-0.7.3 lib/sprinkle/installers/smart.rb
sprinkle-0.7.2 lib/sprinkle/installers/smart.rb
sprinkle-0.7.1.1 lib/sprinkle/installers/smart.rb
sprinkle-0.7.1 lib/sprinkle/installers/smart.rb
sprinkle-0.7 lib/sprinkle/installers/smart.rb
sprinkle-0.6.2 lib/sprinkle/installers/smart.rb
sprinkle-0.6.1.1 lib/sprinkle/installers/smart.rb
sprinkle-0.6.1 lib/sprinkle/installers/smart.rb
sprinkle-0.6.0 lib/sprinkle/installers/smart.rb
sprinkle-0.5.2 lib/sprinkle/installers/smart.rb
sprinkle-0.5.1.1 lib/sprinkle/installers/smart.rb
sprinkle-0.5.1 lib/sprinkle/installers/smart.rb
sprinkle-0.5.0 lib/sprinkle/installers/smart.rb