Skip to content

Instantly share code, notes, and snippets.

[2014-09-07T21:49:47+00:00] WARN:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.
To fix this issue add an entry like this to your configuration file:
```
# Verify all HTTPS connections (recommended)
2014-08-26 13:57:07.107 PDT,"pguser","peyote_production",1245,"[local]",53fce878.4dd,82,"UPDATE",2014-08-26 13:05:12 PDT,925/31890,2871596205,LOG,00000,"duration: 502.788 ms execute <unnamed>: UPDATE ""feed_keys"" SET ""priority"" = 50, ""failure_count"" = 0 WHERE ""feed_keys"".""feed_id"" = 33179 AND ""feed_keys"".""remote_key"" IN ('433541730023009', '433541753356340', '433541780023004', '433541813356334', '433808676662981', '433882813322234', '434123126631536', '434456973264818', '434566826587166', '435424993168016', '435516579825524', '435864476457401', '436147833095732', '436252843085231', '436507836393065', '436597996384049', '436880383022477', '436999466343902', '438259019551280', '438580419519140', '438953696148479', '439078246136024', '439359072774608', '439451869431995', '439720722738443', '439810716062777', '440943189282863', '441177185926130', '441301219247060', '441502615893587', '441615839215598', '441813319195850', '441925059184676', '442172215826627', '442206372489878', '442411309136051', '44
"data": {
"course_name": "Group Guidance",
"course_number": "101",
"created": "2014-02-26T21:15:37.927Z",
"district": "4fd43cc56d11340000000005",
"grade": "10",
"last_modified": "2014-08-11T18:35:06.714Z",
"name": "Group Guidance - 101 - B. Greene (Section 1)",
"period": "0",
"school": "530e595026403103360ff9fd",
include_recipe 'simple_iptables'
# Disable all INPUT, FORWARD, and allow all OUTPUT
simple_iptables_policy "INPUT" do
policy "DROP"
end
simple_iptables_policy "FORWARD" do
policy "DROP"
end
Staging:
relation | size
----------------------------------------------------+---------
public.resources | 16 GB
public.index_feed_keys_on_type | 3392 MB
public.index_feed_keys_on_priority | 2113 MB
public.index_feed_keys_on_feed_id | 1311 MB
public.index_feed_keys_on_searched_at_int | 1138 MB
public.index_resources_on_tracking_id | 1126 MB
public.resources_unique_by_remote_key_and_feed_key | 910 MB
~/Downloads ❯ diff staging.conf production.conf
diff --git a/staging.conf b/production.conf
index 0f23dc9..3844f53 100644
--- a/staging.conf
+++ b/production.conf
@@ -1,4 +1,4 @@
-[root@peyote-staging-db10 data]# cat postgresql.conf
+[root@peyote-production-db03 data]# cat postgresql.conf
# Generated by Sprinkle, do not edit manually
#
#
# A stripped-down sorin theme.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
# Josh Symonds <josh@joshsymonds.com>
#
# Screenshots:
# http://i.imgur.com/nBEEZ.png
#
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
var svg_label_font_size = "10px";
var margin = {top: 20, right: 220, bottom: 20, left: 35},
width = 960 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom;
var bisectMonth = d3.bisector(function(d) { return d.month; }).left,
formatCurrencyValue = d3.format(",.2f"),
formatCurrency = function(d) { return "$" + formatCurrencyValue(d); },
formatPercentValue = d3.format(",.0f"),