-# Captures for parent templates
- content_for :page_title, t("accounts.forgotten_password.page_title")
= resource
= resource.email
Started GET "/" for 127.0.0.1 at Fri Aug 27 09:19:27 +1000 2010 | |
Processing by IndexController#index as HTML | |
[Barista] Compiling all scripts | |
[Barista] Compiling all coffeescripts | |
[Barista] Compiling quince/Controllers.coffee from framework 'default' | |
Completed in 184707ms | |
Barista::CompilationError ("coffee -p '/Users/wallisa/Development/chatter-ui/app/coffeescripts/quince/Controllers.coffee'" exited with a non-zero status.): | |
/Users/wallisa/.bundle/ruby/1.8/gems/barista-0.5.0/lib/barista/compiler.rb:72:in `invoke_coffee' | |
/Users/wallisa/.bundle/ruby/1.8/gems/barista-0.5.0/lib/barista/compiler.rb:34:in `compile!' |
class IndexController < ApplicationController | |
# Monday - Friday | |
# | |
# Session 1 | |
# Pacific: 8am-12pm | |
# GMT: 3pm-7pm | |
# | |
# Session 2 | |
# Pacific: 4pm-8pm |
root / {:controller=>"welcome", :action=>"index"} | |
callback GET /auth/twitter/callback(.:format) {:controller=>"sessions", :action=>"create"} | |
failure GET /auth/failure(.:format) {:controller=>"sessions", :action=>"error"} | |
show GET /profile(.:format) {:controller=>"sessions", :action=>"show"} | |
signout DELETE /signout(.:format) {:controller=>"sessions", :action=>"destroy"} |
This is the error:
Chef::Exceptions::Exec: package[libpq-dev] (postgresql::client line 37) had an error: Chef::Exceptions::Exec: apt-get -q -y install libpq-dev=9.1.4-0ubuntu12.04 returned 100, expected 0
When I SSH into the VM and run the command I get this:
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Unfortunately, those two fixes you posted haven't solved the problems we're experiencing.
I've created a very basic version of our setup which recreates the issues at hand: http://cl.ly/1e3X3P3R1O2o
In the file you'll see a very basic role (base), environment (tester) and cookbooks (apt, rabbitmq, postgres and other dependancies). With the cookbooks, Apt and RabbitMQ are using the patched versions you mentioned in the StackOverflow response. The PostgreSQL is the one on the community website.
Both the RabbitMQ and Postgres cookbooks are failing for the same reason: the APT cookbook isn't updating.
I'm running these recipes through Hosted Chef, on a Vagrant VM running Ubuntu 12.04 64bit.
###################### | |
# Instructions | |
# | |
# Splunk Storm uses a proprietary license file which needs to be deployed on each of the forwarders. | |
# For us to deploy these files we need to put them into Chef Server, but it'd be nice for them to be | |
# all nice and secure. | |
# | |
# Here's a quick chunk of code of how to post the creds into a secure data bag. | |
# | |
# Create a data bag (preference would be this is a secure data bag) |
window.Ember.Handlebars.registerBoundHelper 'valForKey', (obj, key) -> | |
obj.get(key) |
{"id":864,"query":{"query":"{\"scopes\":[\"8\",\"9\"],\"clusters\":[\"6\",\"5\",\"7\"],\"date\":{\"from\":\"2013-07-24T00:00:00+10:00\",\"to\":\"2013-08-22T23:59:59+10:00\"}}","sorting":{"order":"desc","by":"published"},"paging":{"page":"0","limit":"100"},"export":false,"route_info":{"options":{"params":{"client_id":{"required":true,"type":"Integer","desc":"A client ID"},"pivot_on":{"required":true,"type":"String","desc":"What are we pivoting on?"},"output_format":{"required":true,"type":"String","desc":"What are we rendering as? (not to be confused with actual request format)"},"query":{"required":true,"type":"String","desc":"The filter stack as JSON"},"sorting":{"required":true,"desc":"The sorting params"},"paging":{"required":true,"desc":"The paging params"},"export":{"required":true,"type":"Virtus::Attribute::Boolean","desc":"Wether to act as an export or not"}},"description":"Executes the query","rabl":"search_request","prefix":null,"version":"v1","namespace":"/:client_id/search","method":"POST","path":" |
#!/bin/sh | |
echo "--- delete index" | |
curl -X DELETE 'http://localhost:9200/nesting-test' | |
echo "\n\n --- create index and put mapping into place" | |
curl -X POST 'http://localhost:9200/nesting-test/' -d '{ | |
"mappings" : { | |
"mention" : { | |
"properties" : { |