Sha256: 54b0c9ac9a46ec4fbb3848813d97d1b4dcec1a5848f7058181d0937a560e0d64

Contents?: true

Size: 336 Bytes

Versions: 6

Compression:

Stored size: 336 Bytes

Contents

module Sprinkle
  module Installers
    class User < Installer
      def initialize(package, username, options, &block)
        super package, &block
        @username=username
        @options =options
      end
      protected 
      def install_commands
        "adduser #{@options[:flags]} #{@username}"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
sprinkle-0.3.6 lib/sprinkle/installers/user.rb
sprinkle-0.3.5 lib/sprinkle/installers/user.rb
dhill-sprinkle-0.3.3.1 lib/sprinkle/installers/user.rb
sprinkle-0.3.4 lib/sprinkle/installers/user.rb
sprinkle-0.3.3 lib/sprinkle/installers/user.rb
sprinkle-0.3.2 lib/sprinkle/installers/user.rb