I hereby claim:
- I am veszig on github.
- I am veszig (https://keybase.io/veszig) on keybase.
- I have a public key whose fingerprint is 41BA E7C4 A077 A5DF 3C97 BC4D 5CC4 BD87 CB4A 6186
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
wiki linkek (amiket neztunk): | |
http://wiki.opscode.com/display/chef/Home | |
http://wiki.opscode.com/display/chef/Resources | |
http://wiki.opscode.com/display/chef/Amazon+EC2+AMIs+and+Chef+0.8.x | |
cookbookok: | |
http://github.com/opscode/cookbooks | |
http://github.com/37signals/37s_cookbooks | |
http://github.com/engineyard/ey-cloud-recipes |
## chef-server "copy-paste howto" | |
# on alpha.done.hu, a very basic 1024MB rackspace cloud server with a gentoo | |
# image that has app-admin/chef preinstalled... | |
# emerge --sync ; pushd /usr/local/chef-overlay ; git pull ; popd | |
# emerge -DuvN world | |
# install chef-server | |
wget -q -O /etc/portage/package.keywords/chef-server \ |
#!/usr/bin/ruby | |
## manage rackspace cloud chef nodes -- w/o error handling for the time being :) | |
require 'rubygems' | |
require 'yaml' | |
require 'fog' | |
def create(name, flavor, image, key, chef_server_url) | |
image_id = image =~ /\A\d+\Z/ ? image : image_id_by_name(image) |
name "gentoo_base" | |
description "Base role applied to all gentoo systems." | |
run_list( | |
"recipe[gentoo]", | |
"recipe[gentoo::packages]", | |
"recipe[ruby]", | |
"recipe[hosts]", | |
"recipe[logrotate]", | |
"recipe[iptables::ulogd]", |
#!/usr/bin/env ruby -w | |
# find . -type f -iname '*.rb' -exec fix_whitespace {} \; | |
require 'fileutils' | |
# set to nil if you don't want to backup anything | |
backup_dir = File.expand_path('~/.whitespace-backup') | |
unless backup_dir.nil? || File.directory?(backup_dir) |
# simple knife config that let's you act as the webui user | |
mkdir -p /root/.chef/checksums | |
cat > /root/.chef/knife.rb <<\EOF | |
log_level :info | |
log_location STDOUT | |
node_name "chef-webui" | |
client_key "/etc/chef/webui.pem" | |
validation_client_name "chef-validator" | |
validation_key "/etc/chef/validation.pem" | |
chef_server_url "http://127.0.0.1:4000" |
=app-admin/chef-0.9.6 | |
=dev-ruby/abstract-1.0.0 | |
=dev-ruby/bunny-0.6.0-r1 | |
=dev-ruby/erubis-2.6.5 | |
=dev-ruby/extlib-0.9.15 | |
=dev-ruby/highline-1.5.2-r1 | |
=dev-ruby/mime-types-1.16-r2 | |
=dev-ruby/mixlib-authentication-1.1.2 | |
=dev-ruby/mixlib-cli-1.2.0 | |
=dev-ruby/mixlib-config-1.1.2 |
--- scripts/rabbitmq-server 2009-10-06 16:45:47.000000000 +0200 | |
+++ scripts/rabbitmq-server.new 2009-11-08 12:30:39.000000000 +0100 | |
@@ -33,9 +33,12 @@ | |
NODENAME=rabbit | |
NODE_IP_ADDRESS=0.0.0.0 | |
NODE_PORT=5672 | |
+RABBIT_LISTEN_MIN_DEFAULT=4672 | |
+RABBIT_LISTEN_MAX_DEFAULT=4672 | |
SERVER_ERL_ARGS="+K true +A30 \ | |
-kernel inet_default_listen_options [{nodelay,true},{sndbuf,16384},{recbuf,4096}] \ |