Skip to content

Instantly share code, notes, and snippets.

View mbokman's full-sized avatar

Martin Bokman mbokman

View GitHub Profile
Verifying my Blockstack ID is secured with the address 1L3U57VgWWtkEDwcgkZnxmXzV6zFFEctag https://explorer.blockstack.org/address/1L3U57VgWWtkEDwcgkZnxmXzV6zFFEctag
@mbokman
mbokman / Serializing 'postgresql.conf' multiple times.md
Last active October 27, 2015 20:15
Serializing postgresql.conf multiple times during a Chef run using the 'postgresql' cookbook.

Cookbook [postgresql] (https://supermarket.chef.io/cookbooks/postgresql) contains a recipe called server_conf.rb whose content is:

change_notify = node['postgresql']['server']['config_change_notify']

template "#{node['postgresql']['dir']}/postgresql.conf" do
  source "postgresql.conf.erb"
  owner "postgres"
  group "postgres"
  mode 0600
  notifies change_notify, 'service[postgresql]', :immediately
@mbokman
mbokman / server_conf question.md
Last active October 21, 2015 21:11
Trigger cookbook postgresql::server_conf

Cookbook [postgresql] (https://supermarket.chef.io/cookbooks/postgresql) contains a recipe called server_conf.rb whose content is:

change_notify = node['postgresql']['server']['config_change_notify']

template "#{node['postgresql']['dir']}/postgresql.conf" do
 source "postgresql.conf.erb"
 owner "postgres"
 group "postgres"
 mode 0600
 notifies change_notify, 'service[postgresql]', :immediately
Verifying that +mbokman is my openname (Bitcoin username). https://onename.com/mbokman

Keybase proof

I hereby claim:

  • I am mbokman on github.
  • I am mbokman (https://keybase.io/mbokman) on keybase.
  • I have a public key whose fingerprint is 933A 32F2 1F4F F26B 5ECB FAC4 B3A1 2B16 F1EF 8597

To claim this, I am signing this object:

@mbokman
mbokman / .gitconfig
Created March 29, 2012 06:08
Global git config
[user]
name = Martin Bokman
email = martin@bokman.org
[core]
excludesfile = /Users/mbokman/.gitignore_global
editor = /usr/local/bin/mate -w
# always commit unix line endings (http://help.github.com/line-endings/)
autocrlf = input
[color]
diff = auto