class Chef::Sugar::DataBag::EncryptedDataBagSecretNotGiven

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/chef/sugar/data_bag.rb, line 21
        def initialize
          super <<-EOH
You did not set your `encrypted_data_bag_secret'! In order to use the
`encrypted_data_bag_item' helper, you must load your encrypted data bag secret
into the `Chef::Config'.

Alternatively, you can pass the secret key as the last parameter to the method
call. For more information, please see
http://docs.opscode.com/chef/essentials_data_bags.html#access-from-recipe.
EOH
        end