etcdctl_opts

in libraries/helpers_service.rb [81:91]


      def etcdctl_opts
        opts = []
        
        if new_resource.client_cert_auth == true
          opts << "--ca-file=#{new_resource.trusted_ca_file}"
          opts << "--cert-file=#{new_resource.cert_file}"
          opts << "--key-file=#{new_resource.key_file}"
        end
        opts << "-C #{new_resource.advertise_client_urls}" if new_resource.advertise_client_urls
      end