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
#!/usr/bin/env knife exec | |
# A knife exec script to change chef node's name, preserving all the attributes. | |
# | |
# Usage: knife exec rename-node.rb old-name new-name | |
# | |
# Script retrieves the Node object, changes its 'name' attribute, | |
# creates new Node object with updated name and rest of attributes | |
# untouched. Then it deletes old Node and Client objects from | |
# database, and logs into the server to update it: |
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
I/O warning : failed to load external entity "/etc/vmware/hostd/proxy.xml" | |
2015-05-24T09:45:46.040| ServiceImpl_Opener: PID 54132 | |
2015-05-24 09:46:02.659 VMware Fusion[54093:11291857] Unable to simultaneously satisfy constraints: | |
( | |
"<NSLayoutConstraint:0x7fa1936795c0 V:[VMIconPopUpButton:0x7fa1937dc230]-(21)-| (Names: '|':NSView:0x7fa193678de0 )>", | |
"<NSLayoutConstraint:0x7fa1937debf0 VMIconPopUpButton:0x7fa1937dc230.lastBaseline == NSButton:0x7fa1937dc700'Restore Defaults'.lastBaseline>", | |
"<NSLayoutConstraint:0x7fa193679780 V:[NSButton:0x7fa1937dc700'Restore Defaults']-(NSSpace(20))-| (Names: '|':NSView:0x7fa193678de0 )>" | |
) | |
Will attempt to recover by breaking constraint |
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
# MIRROR to be used by ubuntu template at container creation: | |
# Leaving it undefined is fine | |
#MIRROR="http://archive.ubuntu.com/ubuntu" | |
# or | |
#MIRROR="http://<host-ip-addr>:3142/archive.ubuntu.com/ubuntu" | |
# LXC_AUTO - whether or not to start containers symlinked under | |
# /etc/lxc/auto | |
LXC_AUTO="true" |
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
# MIRROR to be used by ubuntu template at container creation: | |
# Leaving it undefined is fine | |
#MIRROR="http://archive.ubuntu.com/ubuntu" | |
# or | |
#MIRROR="http://<host-ip-addr>:3142/archive.ubuntu.com/ubuntu" | |
# LXC_AUTO - whether or not to start containers symlinked under | |
# /etc/lxc/auto | |
LXC_AUTO="true" |
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
630239CC130E1A7FD81A27B140976EAF437D05B5|0X1C4CBDCDCD2EFD2A|false | |
C5986B4F1257FFA86632CBA746181433FBB75451|0X1C4CBDCDCD2EFD2A|false | |
790BC7277767219C42C86F933B4FE6ACC0B21F32|0X1C4CBDCDCD2EFD2A|false | |
843938DF228D22F7B3742BC0D94AA3F0EFE21092|0X1C4CBDCDCD2EFD2A|false | |
7B0FAB3A13B907435925D9C954422A4B98AB5139|0X1C4CBDCDCD2EFD2A|false | |
430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A|0X1C4CBDCDCD2EFD2A|false | |
126C0D24BD8A2942CC7DF8AC7638D0442B90D010|0X1C4CBDCDCD2EFD2A|false | |
D21169141CECD440F2EB8DDA9D6D8F6BC857C906|0X1C4CBDCDCD2EFD2A|false | |
75DDC3C4A499F1A18CB5F3C8CBF8D6FD518E17E1|0X1C4CBDCDCD2EFD2A|false | |
9FED2BCBDCD29CDF762678CBAED4B06F473041FA|0X1C4CBDCDCD2EFD2A|false |
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
merb : worker (port 4000) ~ Started request handling: Thu Dec 10 23:21:36 +0000 2009 | |
merb : worker (port 4000) ~ Routed to: {"format"=>nil, "action"=>"index", "controller"=>"chef_server_slice/search"} | |
merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"index", "controller"=>"chef_server_slice/search"} | |
merb : worker (port 4000) ~ {:before_filters_time=>0.0, :action_time=>0.02, :after_filters_time=>0.0, :dispatch_time=>0.02} | |
merb : worker (port 4000) ~ |
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
irb(main):002:0> foo = Chef::Search.new | |
/usr/lib/ruby/1.8/chef/search.rb:28: warning: toplevel constant Config referenced by Chef::Config | |
NoMethodError: undefined method `[]' for Config:Module | |
from /usr/lib/ruby/1.8/chef/search.rb:28:in `initialize' | |
from (irb):2:in `new' | |
from (irb):2 |
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
irb(main):001:0> require 'chef/search' | |
=> true | |
irb(main):002:0> require 'chef/config' | |
=> true | |
irb(main):003:0> foo = Chef::Search.new | |
=> #<Chef::Search:0x7fb616b783f0 @index=#<Ferret::Index::Index:0x7fb616b78350 @id_field=:id, @auto_flush=false, @mon_entering_queue=[], @key=nil, @mon_count=0, @dir=#<Ferret::Store::FSDirectory:0x7fb616b77ae0>, @default_input_field=:id, @mon_owner=nil, @reader=nil, @searcher=nil, @qp=nil, @close_dir=true, @default_field=:*, @mon_waiting_queue=[], @writer=nil, @open=true, @options={:lock_retry_time=>2, :dir=>#<Ferret::Store::FSDirectory:0x7fb616b77ae0>, :default_field=>:*, :analyzer=>#<Ferret::Analysis::StandardAnalyzer:0x7fb616b74700>, :path=>"/var/chef/search_index"}>> | |
irb(main):004:0> foo.list_indexes | |
=> [] |
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
include_recipe "chef::client" | |
execute "apt-get update" do | |
action :nothing | |
end | |
template "/etc/apt/sources.list.d/opscode.list" do | |
owner "root" | |
mode "0644" | |
source "opscode.list.erb" |
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
velox% host sustainableharvest.swipht.com 68.87.85.98 | |
Using domain server: | |
Name: 68.87.85.98 | |
Address: 68.87.85.98#53 | |
Aliases: | |
sustainableharvest.swipht.com is an alias for dev.swipht.com. | |
dev.swipht.com has address 70.90.134.13 | |
velox% host sustainableharvest.swipht.com 68.87.69.146 | |
Using domain server: |