knife-brightbox 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 232a756d01ba131c96ac44c15575521523e7f7cb
4
- data.tar.gz: 913a7023ea765ebef0cad9d0bc5b21190ee73f7b
3
+ metadata.gz: 639ccc5142308e24532bb512eecb43c020cfc289
4
+ data.tar.gz: 19432c8bcfdc102934e39afe2c255fcf9472a3fe
5
5
  SHA512:
6
- metadata.gz: 78fd3404057b71b523968e653dce4f7b0051bf639cc1a88a3fd393513ffef022e7bfb020e3c19cc29d8e1095becd35d7231f2e2a1ff46bca4e8ce3ba9706e66c
7
- data.tar.gz: 686537e040010dd23140b063bf0bbfda1949b08281e7681e8d2f580bb687d87beee5a50b5de6c635aa93260c70097f25b5e775c16312c28f70d62b8cae32f29c
6
+ metadata.gz: dbf9581cf5438153bca8359fb6a26d0cb1ad839aecb706ebe592004b459318d7d7a03ae1fb0756cf5c544c299f9b513c94d096ab2b84946640e0725780aa1562
7
+ data.tar.gz: 67e9c80765a1a583549d90b599d799c8e5e3b5ab9b5c3c5f442ddf0588bc4eff4e58ce92edf07c255ae2002acdde8ca08e4744cb02203d57c0abc98fc2630792
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.0
2
+
3
+ * Add support for `--secret` and `--secret-file` arguments
4
+
1
5
  # 0.4.0
2
6
 
3
7
  * Introduces support for Zones.
@@ -93,6 +93,17 @@ class Chef
93
93
  :proc => lambda { |o| o.split(/[\s,]+/) },
94
94
  :default => []
95
95
 
96
+ option :secret,
97
+ :short => "-s SECRET",
98
+ :long => "--secret ",
99
+ :description => "The secret key to use to encrypt data bag item values",
100
+ :proc => lambda { |s| Chef::Config[:knife][:secret] = s }
101
+
102
+ option :secret_file,
103
+ :long => "--secret-file SECRET_FILE",
104
+ :description => "A file containing the secret key to use to encrypt data bag item values",
105
+ :proc => lambda { |sf| Chef::Config[:knife][:secret_file] = sf }
106
+
96
107
  option :ssh_user,
97
108
  :short => "-x USERNAME",
98
109
  :long => "--ssh-user USERNAME",
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Brightbox
3
- VERSION = "0.4.0"
3
+ VERSION = "0.5.0"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-brightbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rubio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-07 00:00:00.000000000 Z
11
+ date: 2014-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog