Hi Chefs,
We've released a Chef 11.6.0 release candidate for testing.
Use the installer script to fetch the appropriate package:
curl -L "https://www.opscode.com/chef/install.sh" | sudo bash -s -- -p
Hi Chefs,
We've recently merged a substantial rewrite of Chef's file provider family to master, and it will be released in 11.6.0. As part of these changes, we've standardized the way the different providers create files and update content, and added some cool improvements and features. But first, a word of caution:
I totally agree that the change from metadata dependencies being optional on solo to required in Chef 11 is not an optimal experience. But it's also true that the new behavior is beneficial for everyone. This issue was painful enough that it's been raised over and over again on the ticket tracker:
We've released Chef 11.4.4 and 10.24.4 to fix some bugs introduced in the previous release:
--fork
option.The core of the problem is that users can input two resources with the
## | |
# binding definition API. | |
# Examples taken from nagios cookbook | |
bind(:nagios_service_name).to("nagios") | |
bind(:hostgroups) do | |
search(:role, "*:*").map {|r| r.name } | |
end |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.define 'shortbus' do |c| | |
c.vm.box = "opscode-centos-5.5" | |
c.vm.box_url = "http://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-centos-5.5.box" | |
c.vm.network :hostonly, "192.168.93.93" |
chef > Chef::VERSION | |
=> "10.14.2" | |
### Hidden state | |
chef > i = node[:network][:interfaces] ; nil | |
=> nil | |
chef > i.en0.to_hash | |
=> {"addresses"=>{"20:c9:d0:45:45:63"=>{"family"=>"lladdr"}, "fe80::22c9:d0ff:fe45:4563"=>{"family"=>"inet6", "prefixlen"=>"64", "scope"=>"Link"}, "172.28.8.77"=>{"family"=>"inet", "netmask"=>"255.255.255.0", "broadcast"=>"172.28.8.255"}}, "mtu"=>"1500", "flags"=>["UP", "BROADCAST", "SMART", "RUNNING", "SIMPLEX", "MULTICAST"], "type"=>"en", "number"=>"0", "encapsulation"=>"Ethernet", "arp"=>{"169.254.255.255"=>"0:22:d:11:4b:48", "172.28.8.1"=>"0:22:d:11:4b:48", "172.28.8.255"=>"ff:ff:ff:ff:ff:ff"}} | |
chef > i.en0.to_hash |
# See also: https://github.com/danielsdeleo/knife-plugins/blob/master/key_check.rb | |
ddeleo@boltzmann chef-oss-dev > knife key check chef-oss-dev-validator .chef/kallistec.pem | |
ERROR: Mismatch: | |
ERROR: /Users/ddeleo/opscode-ops/chef-oss-dev/.chef/kallistec.pem is not a valid key for client chef-oss-dev-validator | |
Public key extracted from private key: | |
-----BEGIN PUBLIC KEY----- | |
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6tIhFprz5efiFF0zogxB | |
KBkn72n6x9aGbedzPnEG+ZiObyzrH5MeO7aYv51HfLBEozSMxiJxnADCN4Bus0Sr | |
8UHYZAKFLCkx67rpZHvl6xggEYHDSmMtUNNBHOQRIIbYi79JZeQTcKQNSzfyltiU |