bin/chef-vault in chef-vault-2.4.0 vs bin/chef-vault in chef-vault-2.5.0
- old
+ new
@@ -1,19 +1,19 @@
#!/usr/bin/env ruby
#
# ./chef-vault - Run chef-vault and decrypt based on parameters
#
# Author:: Kevin Moser (<kevin.moser@nordstrom.com>)
-# Copyright:: Copyright (c) 2013 Nordstrom, Inc.
+# Copyright:: Copyright (c) 2013-15 Nordstrom, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
@@ -32,11 +32,11 @@
short: "v",
long: "vault",
description: "Vault to look in",
default: nil,
optional: false
- },
+ },
item: {
short: "i",
long: "item",
description: "Item to decrypt in vault",
default: nil,
@@ -55,10 +55,10 @@
options_config.each do |option, config|
if config[:optional]
banner << "[--#{config[:long]} #{config[:long].upcase}] "
else
banner << "--#{config[:long]} #{config[:long].upcase} "
- end
+ end
end
options = {}
OptionParser.new do |opts|
opts.banner = banner