I hereby claim:
- I am pydevops on github.
- I am vyang (https://keybase.io/vyang) on keybase.
- I have a public key whose fingerprint is 88DC E43F 381C CE5B 279E 3E2B 551D 3F7F CCBF B6CC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
kitchen converge -l debug | |
kitchen list | |
kitchen destroy | |
In order to test chef cookbook for vagrant | |
kitchen vendor /vagrant/cookbooks |
mkvirtualenv --python=/usr/local/bin/python3 py3
export PIP_REQUIRE_VIRTUALENV=true export WORKON_HOME=~/.virtualenvs source /usr/local/bin/virtualenvwrapper.sh
#A standard configured Salt master refreshes the Pillar data ones a minute. If you don’t have so much time, you can manually refresh it with: | |
salt '*' saltutil.refresh_pillar |
# knife and berks switch server
# .chef/knife.rb
# .berkshelf/config.json
knife block list
knife block show
knife block use <server>
# metadata.rb version bump
(leader only) echo dump | nc localhost 2181
echo stat | nc localhost 2181
echo conf | nc localhost 2181
echo cons | nc localhost 2181
echo envi | nc localhost 2181
sudo yum --enablerepo=rpmforge install tmux
yum clean all
yum info yum-plugin-versionlock
>mdadm --create /dev/md10 --level=0 --raid-devices=3 /dev/xvdba /dev/xvdbb /dev/xvdbc | |
mdadm: Defaulting to version 1.2 metadata | |
mdadm: array /dev/md10 started. | |
>mdadm --detail /dev/md10 | |
Query: ntpq -pn | |
Update: sudo ntpdate -bvu 0.amazon.pool.ntp.org | |
(needs to stop first, run ntpdate, then start) |