Module: Luban::Deployment::Parameters::Docker
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#validate_for_docker_cert_path ⇒ Object
135 136 137 138 139 140 141 142 143 |
# File 'lib/luban/deployment/parameters.rb', line 135 def validate_for_docker_cert_path return if !docker_tls_verify and docker_cert_path.nil? if docker_cert_path.is_a?(String) docker_cert_path Pathname.new(docker_cert_path) end unless docker_cert_path.is_a?(Pathname) abort "Aborted! Docker cert path should be a String or a Pathname: docker_cert_path 'path to docker certs'" end end |