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.
Sometimes a database object can get deleted but the Solr index entry will remain.
This can cause problems such as infinite Chef Search API request loops (for knife and I believe for Manage).
The following procedure identifies remaining index entries and provides a way to delete them.
# set the name of the organization you are interested in
export ORG_NAME=demo
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 |
#!/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 ' + |
input { | |
stdin { | |
type => "stdin-type" | |
} | |
file { | |
type => "erchef" | |
path => [ "/dev-shared/logstash/*" ] | |
start_position => "beginning" | |
} |
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 |
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 |
Authoritative docs are here