This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tarting Chef Client, version 11.4.4 | |
[2013-06-17T02:12:45+00:00] INFO: *** Chef 11.4.4 *** | |
[2013-06-17T02:12:45+00:00] DEBUG: Building node object for | |
connector-dev | |
[2013-06-17T02:12:45+00:00] DEBUG: Extracting run list from JSON attributes | |
provided on command line | |
[2013-06-17T02:12:45+00:00] INFO: Setting the run_list to | |
["recipe[connector::default]"] from JSON | |
[2013-06-17T02:12:45+00:00] DEBUG: Applying attributes from json file | |
[2013-06-17T02:12:45+00:00] DEBUG: Platform is centos version 6.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"run_list": [ "recipe[connector]" ], | |
"postgresql" : { | |
"version" : "9.2", | |
"enable_pgdg_yum" : "true", | |
"password" : { | |
"postgres" : "password" | |
}, | |
"config" : { | |
"listen_addresses" : "*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------- | |
>Log Session: Friday, March 1, 2013 11:57:08 AM JST | |
>System Info: | |
Product Version = VisualVM 1.3.5 | |
Operating System = Windows Server 2008 R2 version 6.1 running on amd64 | |
Java; VM; Vendor = 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01; Oracle Corporation | |
Runtime = Java(TM) SE Runtime Environment 1.7.0_15-b03 | |
Java Home = C:\Program Files\Java\jdk1.7.0_15\jre | |
System Locale; Encoding = ja_JP (visualvm); MS932 | |
Home Directory = C:\Users\Administrator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yum clean all | |
loaded plugins: product-id, subscription-manager | |
Updating certificate-based repositories | |
Please use yum-config-manager to configure which software | |
repositories are used with Red Hat Subscription Management. | |
Cleaning repos: epel pgdg92 rhel-6-server-cf-tools-1-rpms | |
: rhel-6-server-optional-rpms rhel-6-server-rhev-agent-rpms | |
: rhel-6-server-rpms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://yum.postgresql.org/9.2/redhat/rhel-6Server-x86_64/repodata/primary.sqlite.bz2 [Errno -1] Metadata file does not match checksum. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NodeStatusProcessor < TorqueBox::Messaging::MessageProcessor | |
def on_message(message) | |
status_record = DocumentQueue.where(:name => message[:queue_name]).first. | |
document_queue_processors.where(:node_name => message[:node_name]).first | |
if status_record | |
# For some reason this isn't triggering automatically so we will do it manually. | |
status_record.updated_at = Time.zone.now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ok" : true, | |
"_shards" : { | |
"total" : 220, | |
"successful" : 110, | |
"failed" : 0 | |
}, | |
"indices" : { | |
"logstash-2013.01.06" : { | |
"index" : { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'tmpdir' | |
File.open(File.join(Dir.tmpdir,"jtest.txt"),"w:utf-8") {|f| f.write "テスト123漢字"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-# Link to the "First" page | |
-# available local variables | |
-# url: url to the first page | |
-# current_page: a page object for the currently displayed page | |
-# total_pages: total number of pages | |
-# per_page: number of items to fetch per page | |
-# remote: data-remote | |
- if current_page.first? | |
%span.first | |
= t('views.pagination.first') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.after_initialize do | |
notifier = ActiveSupport::Notifications.notifier | |
subscribers = notifier.listeners_for("sql.active_record") | |
subscribers += notifier.listeners_for("identify.active_record") | |
subscribers += notifier.listeners_for("start_processing.action_controller") | |
subscribers += notifier.listeners_for("process_action.action_controller") | |
subscribers += notifier.listeners_for("render_template.action_view") | |
subscribers += notifier.listeners_for("render_partial.action_view") |