summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap/chef_vault_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/bootstrap/chef_vault_handler.rb')
-rw-r--r--lib/chef/knife/bootstrap/chef_vault_handler.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/knife/bootstrap/chef_vault_handler.rb b/lib/chef/knife/bootstrap/chef_vault_handler.rb
index 9d0dfec621..6732c0f28d 100644
--- a/lib/chef/knife/bootstrap/chef_vault_handler.rb
+++ b/lib/chef/knife/bootstrap/chef_vault_handler.rb
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require 'chef/knife/bootstrap'
+require "chef/knife/bootstrap"
class Chef
class Knife
@@ -143,8 +143,8 @@ class Chef
@require_chef_vault ||=
begin
error_message = "Knife bootstrap needs version 2.6.0 or higher of the chef-vault gem to configure chef vault items"
- require 'chef-vault'
- if Gem::Version.new(ChefVault::VERSION) < Gem::Version.new('2.6.0')
+ require "chef-vault"
+ if Gem::Version.new(ChefVault::VERSION) < Gem::Version.new("2.6.0")
raise error_message
end
true