This file contains hidden or 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
[2017-04-28T03:37:39+00:00] DEBUG: Did not find hint ec2.json in the hint path(s): /etc/chef/ohai/hints | |
[2017-04-28T03:37:39+00:00] DEBUG: Plugin EC2: has_ec2_xen_uuid? == true | |
[2017-04-28T03:37:39+00:00] DEBUG: Mixin HttpHelper: can_socket_connect? == true | |
[2017-04-28T03:37:39+00:00] DEBUG: Plugin EC2: looks_like_ec2? == true | |
[2017-04-28T03:37:39+00:00] DEBUG: ec2 metdata mixin: Fetching http://169.254.169.254/ to determine the latest supported metdata release | |
[2017-04-28T03:37:39+00:00] DEBUG: ec2 metadata mixin: Latest supported EC2 metadata version: 2016-09-02 | |
[2017-04-28T03:37:39+00:00] DEBUG: ec2 metadata mixin: Fetching http://169.254.169.254/2016-09-02/meta-data/ | |
[2017-04-28T03:37:39+00:00] DEBUG: ec2 metadata mixin: Fetching http://169.254.169.254/2016-09-02/meta-data/ami-id | |
[2017-04-28T03:37:39+00:00] DEBUG: ec2 metadata mixin: Fetching http://169.254.169.254/2016-09-02/meta-data/ami-launch-index | |
[2017-04-28T03:37:39+00:00] DEBUG: ec2 metadata mixin: Fetching http://169.254.169.254/2016-09-02/meta-d |
This file contains hidden or 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
<opt value="program"> | |
<stmts_add value="stmts_add"> | |
<stmts_new value="stmts_new"/> | |
<command_call value="."> | |
<const_path_ref value="const_path_ref"> | |
<var_ref value="var_ref"> | |
<const value="Chef"> | |
<pos line="4" column="0"/> | |
</const> | |
</var_ref> |
This file contains hidden or 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
FC001: Use strings in preference to symbols to access node attributes: ./aws/resources/instance_monitoring.rb:34 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery-cluster/libraries/vagrant.rb:138 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery_build/attributes/default.rb:105 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery_build/attributes/default.rb:106 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery_build/attributes/default.rb:107 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery_build/attributes/default.rb:110 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery_build/attributes/default.rb:111 | |
FC001: Use strings in preference to symbols to access node attributes: ./delivery_build/attributes/default.rb:112 | |
FC001: Use strings in preference to symbols to access node attributes: ./drupal-windows/recipes/default.rb:183 | |
F |
This file contains hidden or 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
Opscode Summit takeaways | |
Overall product roadmap | |
The server is being rewritten in Erlang (no longer ruby) for .11 to greatly reduce memory usage and CPU usage. There's a large push for scalability as Opscode uses the same code base on just 6 servers to do Hosted Chef | |
CouchDB is being replaced with MySQL as the data store to improve db response time, performance, and ease replication/maintenance | |
.11 will ship with DB plugins for multiple SQL servers. No word on if they may support MS SQL at some point. I will follow up with their product manager to express our interest in this use case | |
Windows product roadmap | |
.10.6 comes out next week with significant fixes for Windows support |
This file contains hidden or 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
bad_chars = [" ", "'", ",", "\"", "/", "]", "[", "{", "}", "-", "=", ">"] | |
invalid_platforms = %w( | |
aws | |
archlinux | |
amazonlinux | |
darwin | |
debuan | |
mingw32 | |
mswin | |
mac_os_x_server |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require "net/http" | |
require "json" | |
require "date" | |
def cookbooks | |
uri = URI("https://supermarket.chef.io/api/v1/users/chef") | |
response = Net::HTTP.get(uri) | |
JSON.parse(response)["cookbooks"]["owns"].keys |
This file contains hidden or 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
Distro Support Matrix: | |
Amazon Linux: | |
It’s all supported forever | |
FreeBSD: | |
https://www.freebsd.org/releases/ | |
SUSE Enterprise: |
This file contains hidden or 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
Recipe: test::default | |
* git_config[add name to random] action set | |
================================================================================ | |
Error executing action `set` on resource 'git_config[add name to random]' | |
================================================================================ | |
Chef::Exceptions::ValidationFailed | |
---------------------------------- | |
value is required |
This file contains hidden or 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
{ | |
"opscode-cookbooks": { | |
"url": "https://github.com/opscode-cookbooks/test_cookbook_repo/pull/2", | |
"date": "2017-01-30 23:54:30 UTC" | |
}, | |
"chef-boneyard": { | |
"url": "https://github.com/chef-boneyard/cookbooks/pull/360", | |
"date": "2012-03-02 18:08:38 UTC" | |
}, | |
"chef-cookbooks": { |
This file contains hidden or 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
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Box type must be specified (virtualbox, vmware_desktop, parallels)" | |
exit 1 | |
fi | |
# Find all boxes which have updates | |
AVAILABLE_UPDATES=`vagrant box outdated --global 2>/dev/null | grep outdated | tr -d "*'" | cut -d ' ' -f 2` |