Project

General

Profile

« Previous | Next » 

Revision d396690f

Added by Greg Sutcliffe almost 12 years ago

  • ID d396690f1927ad341c704316f3bb7d9b9d0fc14e

fixes #1733 - Environment issue if the env is not specifically defined

View differences:

lib/proxy/puppet/environment.rb
end
if env.values.compact.size == 0
# fall back to defaults - we probably don't use environments
env[:production] = conf[:main][:modulepath] || conf[:master][:modulepath]
env[:production] = conf[:main][:modulepath] || conf[:master][:modulepath] || '/etc/puppet/modules'
end
new_env = env.clone

Also available in: Unified diff