Skip to content

Instantly share code, notes, and snippets.

{
"id":"test-two-install",
"multi_player":false,
"video_card":"nvidia",
"chef_server":"http://chef-server.newground.com",
"outputs":{
"output_two":{
"orientation":"horizontal",
"resolution":"\"1920x1080\""
},
{
"interface_one":{
"netmask ":"255.255.255.0",
"ip_address":"192.168.1.105",
"type":"static",
"gateway":"192.168.1.1",
"id":"eth0"
},
"interface_two":{
"netmask ":"255.255.255.0",
07 11 * * 3 root mv /etc/X11/91-ServerFlags.conf /etc/X11/xorg.conf.d/91-ServerFlags.conf && service lightdm restart
template "/etc/X11/on-91-ServerFlags.conf" do
source "on-91-ServerFlags.conf.erb" # this is the value that would be inferred from the path parameter
owner "remote"
group "remote"
mode 00755
variables(:settings => node_databag)
end
Feb 6 15:01:35 retail sendmail[1984]: r16L1Y70001984: to=FrederickRoadBranch@mymax.com, ctladdr=brochures@mymax.com (48/48), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=10097079, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r16L1YVg001990 Message accepted for delivery)
Feb 6 15:01:37 retail sendmail[2064]: STARTTLS=client, relay=mx.teklinks.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:762:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:762:in `open'
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:762:in `connect'
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
from /home/afresta/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:744:in `start'
from /home/afresta/.rvm/gems/ruby-1.9.3-p0/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'
from /home/afresta/.rvm/gems/ruby-1.9.3-p0/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
FATAL: Chef::Exceptions::ResourceNotFound: resource link[/opt/logstash/server/lib/logstash.jar] is configured to notify resource service[logstash_server] with action restart, but service[logstash_server] cannot be found in the resource collection. link[/opt/logstash/server/lib/logstash.jar] is defined in /var/cache/chef/cookbooks/logstash/recipes/server.rb:71:in `from_file'
FATAL: Chef::Exceptions::ResourceNotFound: resource link[/opt/logstash/server/lib/logstash.jar] is configured to notify resource service[logstash_server] with action restart, but service[logstash_server] cannot be found in the resource collection. link[/opt/logstash/server/lib/logstash.jar] is defined in /var/cache/chef/cookbooks/logstash/recipes/server.rb:71:in `from_file'
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
# :lockable, :timeoutable and :omniauthable
before_create :initial_charge_customer
after_create :create_profile, :buy_number
has_one :profile
has_many :conversations
@twilio_client = Twilio::REST::Client.new TWILIO_SID, TWILIO_TOKEN
=> <Twilio::REST::Client @account_sid=AC29c2e98ef9cabb31a9098a6f1f1548a2>
1.9.3-p0 :057 > @remote_number = @twilio_client.account.incoming_phone_numbers.list({:phone_number => @number})
=> [<Twilio::REST::IncomingPhoneNumber @uri=/2010-04-01/Accounts/AC29c2e98ef9cabb31a9098a6f1f1548a2/IncomingPhoneNumbers/PNfdc3ac4e9e5b74b03e586ca6d38689cb>]
1.9.3-p0 :058 >