This file contains 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
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so | |
PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.5 | |
PassengerRuby /usr/bin/ruby1.8 | |
PassengerHighPerformance on | |
PassengerMaxPoolSize 16 | |
PassengerPoolIdleTime 300 | |
PassengerStatThrottleRate 120 | |
PassengerUseGlobalQueue on | |
RackAutoDetect Off |
This file contains 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
Processing NodesController#index (for 10.2.16.134 at 2010-03-15 16:35:55) [GET] | |
Parameters: {"action"=>"index", "controller"=>"nodes"} | |
Node Load (0.9ms) SELECT * FROM `nodes` ORDER BY reported_at DESC LIMIT 0, 20 | |
Node Columns (0.8ms) SHOW FIELDS FROM `nodes` | |
SQL (0.2ms) SELECT count(*) AS count_all FROM `nodes` | |
Rendering template within layouts/application | |
Rendering nodes/index | |
CACHE (0.0ms) SELECT count(*) AS count_all FROM `nodes` | |
SQL (1708.4ms) SELECT count(*) AS count_all FROM `nodes` INNER JOIN reports on reports.time = reported_at WHERE (reports.success = 1) | |
SQL (128328.2ms) SELECT count(*) AS count_all FROM `nodes` LEFT OUTER JOIN reports on reports.time = reported_at WHERE (reports.success = 0 OR reported_at IS NULL) |
This file contains 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
require 'puppet/provider/parsedfile' | |
sysctlconf = "/etc/sysctl.conf" | |
Puppet::Type.type(:sysctl).provide(:parsed, | |
:parent => Puppet::Provider::ParsedFile, | |
:default_target => sysctlconf, | |
:filetype => :flat | |
) do |
This file contains 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
hdfsfilerdir { | |
"/some/path": | |
recurse => true; | |
"/some/other/path": | |
sync_method => "method", | |
recurse => false; | |
} |
This file contains 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
@@sg_metadata_file = "/var/lib/cloud/data/sgmetadata.json" | |
if File.exists?(@@sg_metadata_file) | |
begin | |
require 'json' | |
@@sg_metadata = JSON.parse(File.open(@@sg_metadata_file, "r").read) | |
@@sg_metadata.each do |key, value| | |
Facter.add("sg_#{key}") do | |
setcode do | |
value.chomp() |
This file contains 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
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: File[/puppet/development] is already defined in file /usr/share/puppet/modules/site/manifests/puppetenv.pp at line 16; cannot redefine at /usr/share/puppet/modules/site/manifests/puppetenv.pp:16 on node puppetmaster-us-west-1.simplegeo.com |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCgoAexmLSIWe42zACGzthw4IULIODMeCkf7EjldVZdAnCNYHrScXCSvyXst+A+Bppr19YpOVEWBOMPffpeQJsnPCvuejhNdZ4bD66aczKp1GfsX7AulnUUuGckLmBhzIPsRIMQY+9Iis7C61lx5LByHrlGdIA/Oa524WQsClrwYBYPzXdX0Y/X8pny4DcBRGUj7L8tTRURsUgNxAd8p2RloOkx49Zq8z8RbRk+qJyo9OuxKVy8Xjq0mDkA8XFkpfGPr4Y2dOtQ3Sjk0m12n2Gx7oj289X36+vAmR66JsLqbFTJYkyQq8HL6WIWnYGMSu3qI3ZnNrTEZ3F1Qb6PfyVF |
This file contains 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
debug: Failed to load library 'selinux' for feature 'selinux' | |
debug: Puppet::Type::User::ProviderPw: file pw does not exist | |
debug: Failed to load library 'ldap' for feature 'ldap' | |
debug: Puppet::Type::User::ProviderLdap: feature ldap is missing | |
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist | |
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist | |
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] | |
debug: /File[/var/lib/puppet/ssl/certs/ip-10-161-47-5.us-west-1.compute.internal.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] |
This file contains 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
;;; Tramp | |
;;Use SSH by default for remote editing. | |
(autoload 'tramp "tramp" "Remotely access files." t) | |
(setq tramp-default-method "ssh") | |
(setq tramp-default-proxies-alist '()) | |
(eval-after-load 'tramp | |
(progn | |
(add-to-list 'tramp-default-proxies-alist | |
'("\\.simplegeo\\.com\\'" "\\`root\\'" "/ssh:%h:")) | |
(add-to-list 'tramp-default-proxies-alist |