lib/boot.rb in forj-0.0.41 vs lib/boot.rb in forj-0.0.42
- old
+ new
@@ -89,10 +89,10 @@
if not oForjAccount.get(:maestro_repo)
Logging.info('cloning maestro repo from \'%s\'...' % maestro_url)
Repositories.clone_repo(maestro_url)
maestro_repo=File.expand_path('~/.forj/maestro')
else
- maestro_repo=File.expand_path(oConfig.get(:maestro_repo))
+ maestro_repo=File.expand_path(oForjAccount.get(:maestro_repo))
if not File.exists?('%s/templates/infra/maestro.box.%s.env' % [maestro_repo, branch])
Logging.fatal(1, "'%s' is not a recognized Maestro repository. forj cli searched for templates/infra/%s-maestro.box.GITBRANCH.env.tmpl" % [maestro_repo, cloud_provider])
end
Logging.info('Using your maestro cloned repo \'%s\'...' % maestro_repo)
end