mitmproxy is an excellent console app written in Python.
It is easy to use on Linux and OS X.
Use brew install mitmproxy
to install it on OS X.
mitmproxy is an excellent console app written in Python.
It is easy to use on Linux and OS X.
Use brew install mitmproxy
to install it on OS X.
#!/usr/bin/env ruby | |
# encoding: UTF-8 | |
require 'thor' | |
require 'base64' | |
require 'openssl' | |
require 'time' | |
class GatlingChef < Thor | |
desc 'update FILE', 'Update timestamps and re-sign Chef authentication ' + |
These instructions are now maintained in docs.opscode.com
Authoritative docs are here
The following Chef products were released with security patches in response to the Heartbleed openssl vulnerability. | |
* Enterprise Chef Server 11.1.3 | |
* Manage add-on 1.3.1 | |
* Reporting add-on 1.1.1 | |
* Push-Jobs-Server add-on 1.1.1 | |
* Push-Jobs-Client 1.0.2 | |
* Chef Client 11.12.2 | |
### Upgrade Instructions for Enterprise Chef Server |
async process on windows that doesn't block chef run | |
batch "run" do | |
code 'powershell -c "start-process notepad.exe"' | |
end | |
https://opscode.hipchat.com/history/room/12542/2013/10/15?q=notepad.exe#17:43:33 | |
http://technet.microsoft.com/en-us/library/hh849848.aspx |
input { | |
stdin { | |
type => "stdin-type" | |
} | |
file { | |
type => "erchef" | |
path => [ "/dev-shared/logstash/*" ] | |
start_position => "beginning" | |
} |
Reference READMEs:
require 'pg' | |
require 'json' | |
def pull_chef11_db_credentials | |
puts "Pulling open source Chef 11 database credentials" | |
if !File.exists?("/etc/chef-server/chef-server-running.json") | |
puts "Failed to find /etc/chef-server/chef-server-running.json" | |
exit 1 | |
end |