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
UID PID PPID C STIME TTY TIME CMD | |
root 1 0 0 21:32 ? 00:00:00 /sbin/init | |
root 2 0 0 21:32 ? 00:00:00 [kthreadd] | |
root 3 2 0 21:32 ? 00:00:00 [ksoftirqd/0] | |
root 6 2 0 21:32 ? 00:00:00 [migration/0] | |
root 7 2 0 21:32 ? 00:00:00 [watchdog/0] | |
root 8 2 0 21:32 ? 00:00:00 [migration/1] | |
root 10 2 0 21:32 ? 00:00:00 [ksoftirqd/1] | |
root 12 2 0 21:32 ? 00:00:00 [watchdog/1] | |
root 13 2 0 21:32 ? 00:00:00 [cpuset] |
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
[root@myface vagrant]# chef-solo -c /tmp/vagrant-chef-1/solo.rb -j /tmp/vagrant-chef-1/dna.json --why-run --color | |
Starting Chef Client, version 10.16.2 | |
Compiling cookbooks | |
.................................done. | |
Converging 108 resources | |
108/108: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__,------, | |
108/108: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__| /\_/\ | |
0/108: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_~|_( - .-) | |
0/108: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ "" "" |
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
# | |
# Cookbook Name:: line | |
# Recipe:: default | |
# | |
# Copyright 2008-2009, Opscode, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
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
template "/tmp/file1" do | |
action :create | |
# mode "00666" | |
notifies :create, 'template[/tmp/file2]' | |
end | |
template "/tmp/file2" do | |
action :nothing | |
notifies :run, 'execute[hack the planet]' | |
end |
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
root@slackberry:~# time ohai | |
{ | |
"languages": { | |
"ruby": { | |
"platform": "arm-linux-eabi", | |
"version": "1.9.3", | |
"release_date": "2012-04-20", | |
"target": "arm-slackware-linux-gnueabi", | |
"target_cpu": "arm", | |
"target_vendor": "slackware", |
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
99/99: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_,------, | |
99/99: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_| /\_/\ | |
0/99: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-^|__( - .-) | |
0/99: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- "" "" |
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
root@localhost:~# shef -s | |
loading configuration: none (standalone shef session) | |
Session type: solo | |
Loading.[2013-01-19T19:22:31+00:00] INFO: Run List is [] | |
[2013-01-19T19:22:31+00:00] INFO: Run List expands to [] | |
done. | |
This is shef, the Chef shell. | |
Chef Version: 10.18.0 | |
http://www.opscode.com/chef |
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
% vagrant up --no-provision BOXNAME | |
% vagrant ssh BOXNAME | |
vagrant$ export http_proxy="proxy.you.com:8000" | |
vagrant$ export https_proxy="proxy.you.com:8000" | |
vagrant$ echo "10.9.8.7 cher-server.your.lap chef-server >> /etc/hosts" | |
vagrant$ wget -O - http://opscode.com/chef/install.sh | sudo bash | |
vagrant$ rm /tmp/chef*{rpm,deb} | |
vagrant$ exit | |
% vagrant package BOXNAME | |
% rm -rf ~/.vagrant.d/boxes/BOXNAME |
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
/* A table for myface users */ | |
CREATE TABLE users | |
( | |
id CHAR (32) NOT NULL, | |
PRIMARY KEY(id), | |
user_name VARCHAR(64), | |
neck_beard INTEGER | |
); |
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
# Managed by Chef for <%= node['hostname'] %> | |
Alias / /srv/apache/myface/ | |
<Directory /srv/apache/myface > | |
Options FollowSymLinks +Indexes | |
Allow from All | |
</Directory> |