Class: Kitchen::Provisioner::ChefZeroEncryptDatabags

Inherits:
ChefZero
  • Object
show all
Defined in:
lib/kitchen/provisioner/chef_zero_encrypt_databags.rb

Overview

This gem aims to extend the ChefZero provisioner from test-kitchen to automatically encrypt data bags when provisioning the test sandbox.

Defined Under Namespace

Classes: DataBagEncryptionException

Instance Method Summary collapse

Instance Method Details

#create_sandboxObject



16
17
18
19
# File 'lib/kitchen/provisioner/chef_zero_encrypt_databags.rb', line 16

def create_sandbox
  super # call the original, which will insert databags
  encrypt_data_bags
end