Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created October 6, 2012 21:36
Show Gist options
  • Save coderforhire/3846225 to your computer and use it in GitHub Desktop.
Save coderforhire/3846225 to your computer and use it in GitHub Desktop.
client_ip = data_bag_item('clientip', "#{node['fqdn']}")
default[:postgresql][:client_address] = "#{client_ip['client_ip']}"
[Sat, 06 Oct 2012 21:38:19 +0000] INFO: *** Chef 10.12.0 ***
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Run List is [recipe[build-essential], recipe[openssl], recipe[postgresql::server], recipe[postgresql::client], recipe[zabbix::default], recipe[zabbix::agent_install], recipe[zabbix::host_registration], recipe[ufw], recipe[postgresql], recipe[postgresql::server_debian]]
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Run List expands to [build-essential, openssl, postgresql::server, postgresql::client, zabbix::default, zabbix::agent_install, zabbix::host_registration, ufw, postgresql, postgresql::server_debian]
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Starting Chef Run for dpq7yoky2sw4tg
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Running start handlers
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Start handlers complete.
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Loading cookbooks [build-essential, firewall, openssl, postgresql, ufw, zabbix]
[Sat, 06 Oct 2012 21:38:21 +0000] INFO: Storing updated cookbooks/postgresql/attributes/default.rb in the cache.
[Sat, 06 Oct 2012 21:38:21 +0000] ERROR: Running exception handlers
[Sat, 06 Oct 2012 21:38:21 +0000] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[Sat, 06 Oct 2012 21:38:21 +0000] ERROR: Exception handlers complete
[Sat, 06 Oct 2012 21:38:21 +0000] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[Sat, 06 Oct 2012 21:38:21 +0000] FATAL: TypeError: can't convert String into Integer
host all all <%= node.postgresql.client_address %> md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment