Sha256: 3d82a00a82d4878c15218f56f91f893d46d2f4b18e7b9436a9da4fd3a17f5157

Contents?: true

Size: 875 Bytes

Versions: 18

Compression:

Stored size: 875 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,
      :ssh_port => 22,
      :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

18 entries across 18 versions & 3 rubygems

Version Path
auser-poolparty-1.3.10 lib/poolparty/default.rb
auser-poolparty-1.3.11 lib/poolparty/default.rb
auser-poolparty-1.3.12 lib/poolparty/default.rb
auser-poolparty-1.3.13 lib/poolparty/default.rb
auser-poolparty-1.3.14 lib/poolparty/default.rb
auser-poolparty-1.3.15 lib/poolparty/default.rb
auser-poolparty-1.3.16 lib/poolparty/default.rb
auser-poolparty-1.3.17 lib/poolparty/default.rb
auser-poolparty-1.3.6 lib/poolparty/default.rb
auser-poolparty-1.3.7 lib/poolparty/default.rb
auser-poolparty-1.3.8 lib/poolparty/default.rb
fairchild-poolparty-1.3.17 lib/poolparty/default.rb
poolparty-1.3.15 lib/poolparty/default.rb
poolparty-1.3.14 lib/poolparty/default.rb
poolparty-1.3.13 lib/poolparty/default.rb
poolparty-1.3.8 lib/poolparty/default.rb
poolparty-1.3.7 lib/poolparty/default.rb
poolparty-1.3.6 lib/poolparty/default.rb