Sha256: 546b8c0dd9fc954413f22f7869a7fb748899a45bd2544204aa3ee19fc0c8a637

Contents?: true

Size: 852 Bytes

Versions: 10

Compression:

Stored size: 852 Bytes

Contents

=begin rdoc
  Default class
  
  Hangs on and defines defaults for PoolParty
=end

module PoolParty
  class Default
    include Dslify
    
    default_options(
      :user => "root",
      :os => :ubuntu,
      :tmp_path => "/tmp/poolparty",
      :poolparty_home_path => "#{ENV["HOME"]}/.poolparty",
      :ec2_home => "#{ENV["HOME"]}/.ec2",
      :poolparty_src_path => File.expand_path("#{::File.dirname(__FILE__)}/../../"),
      :base_config_directory => "/etc/poolparty",
      :remote_storage_path => "/var/poolparty",
      :poolparty_log_path => "#{File.dirname(__FILE__)}/log/poolparty.log",
      :verbose        => false,
      :debug          => false,
      :very_debugging => false
    )
        
    # Method missing
    def self.method_missing(m,*a,&block)
      dsl_options.include?(m) ? dsl_options[m] : super
    end
    
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
auser-poolparty-1.3.0 lib/poolparty/default.rb
auser-poolparty-1.3.1 lib/poolparty/default.rb
auser-poolparty-1.3.2 lib/poolparty/default.rb
auser-poolparty-1.3.3 lib/poolparty/default.rb
auser-poolparty-1.3.4 lib/poolparty/default.rb
auser-poolparty-1.3.5 lib/poolparty/default.rb
fairchild-poolparty-1.3.5 lib/poolparty/default.rb
poolparty-1.3.4 lib/poolparty/default.rb
poolparty-1.3.3 lib/poolparty/default.rb
poolparty-1.3.1 lib/poolparty/default.rb