Sha256: da641f9333a32b754854d96390c33747637bb8c69ad3212774af7092f4ddf56d

Contents?: true

Size: 835 Bytes

Versions: 16

Compression:

Stored size: 835 Bytes

Contents

module Mccloud
  class Config
    class Mccloud

      attr_reader :env

      attr_accessor :prefix
      attr_accessor :environment
      attr_accessor :identity

      attr_accessor :delimiter
      attr_accessor :loglevel

      attr_accessor :template_path
      attr_accessor :definition_path
      attr_accessor :vm_path

      def initialize(config)
        @env=config.env

        @prefix="mccloud"
        @environment=""
        @identity=""

        @delimiter="-"
        @loglevel=:info

        @template_path=File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','templates'))
        @definition_path=File.join(@env.root_path,"definitions")
        @vm_path=File.join(@env.root_path,"vms")

        env.logger.debug("done loading the mccloud setting")

      end


    end #Class
  end #Module
end #Module

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mccloud-0.1.1 lib/mccloud/config/mccloud.rb
mccloud-0.0.28 lib/mccloud/config/mccloud.rb
mccloud-0.0.27 lib/mccloud/config/mccloud.rb
mccloud-0.0.26 lib/mccloud/config/mccloud.rb
mccloud-0.0.25 lib/mccloud/config/mccloud.rb
mccloud-0.0.24 lib/mccloud/config/mccloud.rb
mccloud-0.0.23 lib/mccloud/config/mccloud.rb
mccloud-0.0.22 lib/mccloud/config/mccloud.rb
mccloud-0.0.21 lib/mccloud/config/mccloud.rb
mccloud-0.0.20 lib/mccloud/config/mccloud.rb
mccloud-0.0.19 lib/mccloud/config/mccloud.rb
mccloud-0.0.18 lib/mccloud/config/mccloud.rb
mccloud-0.0.17 lib/mccloud/config/mccloud.rb
mccloud-0.0.16 lib/mccloud/config/mccloud.rb
mccloud-0.0.15 lib/mccloud/config/mccloud.rb
mccloud-0.0.14 lib/mccloud/config/mccloud.rb