lives in /etc/init/service.conf
- "start servicename"
- "stop servicename"
- "initctl reload-configuration"
file "/path/to/file" do | |
inherits True | |
end |
lvextend -l +100%FREE /dev/vg_name/lv_name |
[ ] erlang-R14B-04.3.el6.x86_64.rpm 20-Nov-2013 21:46 26K | |
[ ] erlang-amf-0-0.6.20110224gitb36dfb6.el6.x86_64.rpm 09-May-2012 19:32 45K | |
[ ] erlang-appmon-R14B-04.3.el6.x86_64.rpm 20-Nov-2013 21:46 145K | |
[ ] erlang-asn1-R14B-04.3.el6.x86_64.rpm 20-Nov-2013 21:46 1.0M | |
[ ] erlang-basho_stats-1.0.3-1.el6.x86_64.rpm 12-Mar-2013 00:42 12K | |
[ ] erlang-bear-0.1.3-1.el6.x86_64.rpm 09-Mar-2013 10:32 21K | |
[ ] erlang-bitcask-1.6.1-1.el6.x86_64.rpm 08-Apr-2013 21:56 749K | |
[ ] erlang-cluster_info-1.2.3-1.el6.x86_64.rpm 12-Mar-2013 00:42 25K | |
[ ] erlang-common_test-R14B-04.3.el6.x86_64.rpm 20-Nov-2013 21:46 508K | |
[ ] erlang-compiler-R14B-04.3.el6.x86_64.rpm |
Use chef-solo driven by soloist to apply recipes to a mac and configure it just how you like.
bit.ly/chef4mac < this presentation (meta)
brew install -vd pcre |
yum-utils provides repoquery | |
For a single package, you can find this with | |
repoquery -i package | |
PACKAGE=ruby-enterprise | |
repoquery --qf "%{repoid}" $PACKAGE | |
Replace $PACKAGE with the name of the package you care about. |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'berkshelf/vagrant' | |
Vagrant::Config.run do |config| | |
config.vm.host_name = "celery-berkshelf" | |
#config.vm.box = "Berkshelf-CentOS-6.3-x86_64-minimal" | |
#config.vm.box_url = "https://dl.dropbox.com/u/31081437/Berkshelf-CentOS-6.3-x86_64-minimal.box" |
curl -H "Content-Type: application/json" -X POST http://localhost:5984/chef/_compact |
/usr/bin/find /var/cache/chef/checksums/ -maxdepth 1 -type f -ctime +1 -delete | |
Then delete all the checksums in CouchDB using Shef: | |
require 'chef/checksum' | |
r = Chef::REST.new('http://localhost:5984/chef/_design/checksums/_view/', false, false) | |
r.get_rest("all")["rows"].each do |c| c["value"].cdb_destroy end |