Created
July 28, 2013 03:09
-
-
Save aespinosa/6097207 to your computer and use it in GitHub Desktop.
lxc_container[] resources breaks on Chef 11.6.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling Cookbooks... | |
[2013-07-28T02:52:13+00:00] INFO: Lxc light-weight provider already initialized -- overriding! | |
================================================================================ | |
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/lxc/resources/container.rb | |
================================================================================ | |
NameError | |
--------- | |
uninitialized constant Chef::EncryptedDataBagItem::DEFAULT_SECRET_FILE | |
Cookbook Trace: | |
--------------- | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/lxc/resources/container.rb:18:in `class_from_file' | |
Relevant File Content: | |
---------------------- | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/lxc/resources/container.rb: | |
11: attribute :server_uri, :kind_of => String | |
12: attribute :chef_environment, :kind_of => String, :default => '_default' | |
13: attribute :node_name, :kind_of => String | |
14: attribute :run_list, :kind_of => Array | |
15: attribute :chef_enabled, :kind_of => [TrueClass, FalseClass], :default => false | |
16: attribute :chef_retries, :kind_of => Fixnum, :default => 0 | |
17: attribute :copy_data_bag_secret_file, :kind_of => [TrueClass, FalseClass], :default => false | |
18>> attribute :data_bag_secret_file, :kind_of => String, :default => Chef::EncryptedDataBagItem::DEFAULT_SECRET_FILE | |
19: attribute :default_bridge, :kind_of => String | |
20: attribute :static_ip, :kind_of => String | |
21: attribute :static_netmask, :kind_of => String, :default => '255.255.255.0' | |
22: attribute :static_gateway, :kind_of => String | |
23: attribute :default_config, :kind_of => [TrueClass, FalseClass], :default => true | |
24: attribute :default_fstab, :kind_of => [TrueClass, FalseClass], :default => true | |
25: attribute :container_commands, :kind_of => Array, :default => [] | |
26: attribute :initialize_commands, :kind_of => Array, :default => [] | |
27: attribute :clone, :kind_of => String | |
[2013-07-28T02:52:13+00:00] ERROR: Running exception handlers | |
[2013-07-28T02:52:13+00:00] ERROR: Exception handlers complete | |
[2013-07-28T02:52:13+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
Chef Client failed. 0 resources updated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got same error.