Sha256: 8207e6b334327b860e4a72edb09b062be552ed70cdc924aa720fea56224c71b0

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sprinkle-0.4.2 lib/sprinkle/installers/group.rb
sprinkle-0.4.1 lib/sprinkle/installers/group.rb
sprinkle-0.4.0 lib/sprinkle/installers/group.rb