mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Merge pull request #88 from cthorn42/maint/master/no_config_file_non_vmpooler_service_fix
(maint) Fix using ABS service without a .vmfloaty.yml file
This commit is contained in:
commit
5436f54258
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ class Utils
|
||||||
# If the service is configured but some values are missing, use the top-level defaults to fill them in
|
# If the service is configured but some values are missing, use the top-level defaults to fill them in
|
||||||
service_config.merge! config['services'][options.service]
|
service_config.merge! config['services'][options.service]
|
||||||
end
|
end
|
||||||
|
# No config file but service is declared on command line
|
||||||
|
elsif !config['services'] && options.service
|
||||||
|
service_config['type'] = options.service
|
||||||
end
|
end
|
||||||
|
|
||||||
# Prioritize an explicitly specified url, user, or token if the user provided one
|
# Prioritize an explicitly specified url, user, or token if the user provided one
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue