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
| Wireless Options | |
| elysium | |
| RedMonk.com/cote | |
| pass: RedMonk.com/cote | |
| Simon Says | |
| pass: gofuckyourself |
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
| maintainer "Opscode, Inc." | |
| maintainer_email "cookbooks@opscode.com" | |
| license "Apache 2.0" | |
| long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | |
| version "0.1" | |
| recipe "yum", "Runs 'yum update' during compile phase" | |
| recipe "yum::yum", "manages yum configuration" | |
| %w{ redhat centos scientific }.each do |os| | |
| supports os, ">= 5" |
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
| mray@morbo[20:56](master)[] ~/ws/chef-repo | |
| $ knife ec2 server create -S mray -i ~/.ssh/mray.pem -x ubuntu -G default -I ami-7000f019 -f m1.small -N test | |
| <SNIP> | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:42 +0000] INFO: *** Chef 0.10.0 *** | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:43 +0000] INFO: Client key /etc/chef/client.pem is not present - registering | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:50 +0000] INFO: HTTP Request Returned 404 Not Found: Cannot load node test | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:53 +0000] INFO: Setting the run_list to [] from JSON | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:53 +0000] INFO: Run List is [] | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:53 +0000] INFO: Run List expands to [] | |
| ec2-50-16-145-147.compute-1.amazonaws.com [Wed, 18 May 2011 01:57:53 +0000] INFO: Starting Chef Run for test |
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
| 2011-05-20 20:58:38,067 DEBUG nova.rpc [-] received {'_context_request_id': 'J7N2BQIKNDGCAU37397M', '_context_read_deleted': False, 'args': {'instance_id': 3, 'injected_files': None, 'availability_zone': None}, '_context_is_admin': True, '_context_timestamp': '2011-05-21T01:58:37Z', '_context_user': 'nova', 'method': 'run_instance', '_context_project': 'admin', '_context_remote_address': '10.0.111.104'} from (pid=28500) _receive /usr/lib/pymodules/python2.6/nova/rpc.py:167 | |
| 2011-05-20 20:58:38,068 DEBUG nova.rpc [-] unpacked context: {'timestamp': '2011-05-21T01:58:37Z', 'remote_address': '10.0.111.104', 'project': 'admin', 'is_admin': True, 'user': 'nova', 'request_id': 'J7N2BQIKNDGCAU37397M', 'read_deleted': False} from (pid=28500) _unpack_context /usr/lib/pymodules/python2.6/nova/rpc.py:331 | |
| 2011-05-20 20:58:38,107 AUDIT nova.compute.manager [J7N2BQIKNDGCAU37397M nova admin] instance 3: starting... | |
| 2011-05-20 20:58:38,239 DEBUG nova.rpc [-] Making asynchronous call on network.crushinator ... from (pid=28500) |
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
| --daemonize = 1 | |
| --dhcpbridge_flagfile=/etc/nova/nova.conf | |
| --dhcpbridge=/usr/bin/nova-dhcpbridge | |
| --logdir=/var/log/nova | |
| --state_path=/var/lib/nova | |
| --lock_path=/var/lock/nova | |
| --verbose | |
| --my_ip=192.168.11.9 | |
| --iscsi_ip_prefix=192.168.11 | |
| --s3_host=192.168.11.9 |
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
| cat /etc/rabbitmq/rabbitmq.conf . | |
| ### | |
| # Generated by Chef for larry.localdomain | |
| ### | |
| NODENAME=rabbit | |
| NODE_IP_ADDRESS=192.168.11.9 | |
| NODE_PORT=5672 | |
| SERVER_ERL_ARGS=+K true +A 30 -kernel inet_default_listen_options [{nodelay,true},{sndbuf,16384},{recbuf,4096}] -kernel inet_default_connect_options [{nodelay,true}] | |
| CLUSTER_CONFIG_FILE=/etc/rabbitmq/rabbitmq_cluster.config |
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
| $ knife openstack server create -VV -S mykey -x ubuntu -i ~/.ssh/mykey.pem -I ami-7acf8f31 -f m1.tiny | |
| knife openstack server create -VV -S mykey -x ubuntu -i ~/.ssh/mykey.pem -I ami-7acf8f31 -f m1.tiny | |
| DEBUG: Using configuration from /Users/mray/ws/openstack-cookbooks/.chef/knife.rb | |
| /Library/Ruby/Gems/1.8/gems/excon-0.6.3/lib/excon/connection.rb:179:in `request': Expected(200) <=> Actual(500 InternalServerError) (Excon::Errors::InternalServerError) | |
| request => {:scheme=>"http", :mock=>nil, :path=>"/services/Cloud", :headers=>{"Content-Type"=>"application/x-www-form-urlencoded", "Content-Length"=>326, "Host"=>"192.168.11.10:8773"}, :body=>"AWSAccessKeyId=_hypqvgaKYYGHKsAx_zs%3Aadmin&Action=RunInstances&ImageId=ami-7acf8f31&InstanceType=m1.tiny&KeyName=mykey&MaxCount=1&MinCount=1&SecurityGroup.1=default&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2011-05-31T21%3A40%3A50Z&Version=2010-08-31&Signature=sfLebcHjpf5a7LpWIqQa%2FFlJNtvD63lsRXlb%2Fa2OxM8%3D", :expects=>200, :method=>"POST", :query=>nil, :h |
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
| #old ruby style | |
| run_list( | |
| "recipe[nova::mysql]" | |
| ) | |
| #js-mode on a ruby file | |
| run_list( | |
| "recipe[nova::mysql]" | |
| ) |
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
| maverick-server-uec-amd64-floppy | |
| maverick-server-uec-amd64.img | |
| maverick-server-uec-amd64-loader | |
| maverick-server-uec-amd64-vmlinuz-virtual |
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
| #get the 'openstack' data bag 'images'['images'] list of hashes | |
| images = data_bag_item('openstack', 'images') | |
| (images.keys or []).each do |image| | |
| next if image == 'id' | |
| #get the filename of the image | |
| filename = image.split('/').last | |
| remote_file filename do | |
| source image |