def default
      res = FalkorLib::Config::DEFAULTS.clone
      $LOADED_FEATURES.each do |path|
        res[:git]        = FalkorLib::Config::Git::DEFAULTS        if path.include?('lib/falkorlib/git.rb')
        res[:gitflow]    = FalkorLib::Config::GitFlow::DEFAULTS    if path.include?('lib/falkorlib/git.rb')
        res[:versioning] = FalkorLib::Config::Versioning::DEFAULTS if path.include?('lib/falkorlib/versioning.rb')
        if path.include?('lib/falkorlib/puppet.rb')
          res[:puppet] = FalkorLib::Config::Puppet::DEFAULTS
          res[:templates][:puppet][:modules] = FalkorLib::Config::Puppet::Modules::DEFAULTS[:metadata]
        end
      end
      # Check the potential local customizations
      [:local, :private].each do |type|
        custom_cfg = File.join( res[:root], res[:config_files][type.to_sym])
        if File.exist?( custom_cfg )
          res.deep_merge!( load_config( custom_cfg ) )
        end
      end
      res
    end
def default
      res = FalkorLib::Config::DEFAULTS.clone
      $LOADED_FEATURES.each do |path|
        res[:git]        = FalkorLib::Config::Git::DEFAULTS        if path.include?('lib/falkorlib/git.rb')
        res[:gitflow]    = FalkorLib::Config::GitFlow::DEFAULTS    if path.include?('lib/falkorlib/git.rb')
        res[:versioning] = FalkorLib::Config::Versioning::DEFAULTS if path.include?('lib/falkorlib/versioning.rb')
        if path.include?('lib/falkorlib/puppet.rb')
          res[:puppet] = FalkorLib::Config::Puppet::DEFAULTS
          res[:templates][:puppet][:modules] = FalkorLib::Config::Puppet::Modules::DEFAULTS[:metadata]
        end
      end
      # Check the potential local customizations
      [:local, :private].each do |type|
        custom_cfg = File.join( res[:root], res[:config_files][type.to_sym])
        if File.exist?( custom_cfg )
          res.deep_merge!( load_config( custom_cfg ) )
        end
      end
      res
    end
Build the default configuration hash, to be used to initiate the default.
 The hash is built depending on the loaded files.