Sha256: 78c10837a584644962cf6cd95e07f9db5f721ebecf61e9f3ccce3b61d0a2f950
Contents?: true
Size: 310 Bytes
Versions: 4
Compression:
Stored size: 310 Bytes
Contents
module Kontena::Cli::Stacks module YAML class Opto::Setters::Vault < Opto::Setter def set(value) require 'shellwords' ENV["DEBUG"] && STDERR.puts("Setting to vault: #{hint}") Kontena.run("vault write --silent #{hint} #{value.to_s.shellescape}") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems