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
| {"heart-of-gold.local":{"curl_json-flapjack":{"derive-all_time-action":{"value":{"start":1374736284,"finish":1374740750,"data":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n |
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
| INFO executive: 2013-07-05 11:56:04 +0930 | client1-localhost-test-1:HTTP Port 443 | acknowledgement | NO CONTACTS | |
| INFO executive: 2013-07-05 11:56:17 +0930 | client1-localhost-test-1:HTTP Port 443 | acknowledgement | NO CONTACTS | |
| 2013-07-10T15:27:24+09:30 [INFO] :: notify :: client1-localhost-test-1:HOST | problem | NO CONTACTS | |
| 2013-07-10T15:27:54+09:30 [INFO] :: notify :: client1-localhost-test-1:HOST | recovery | NO CONTACTS |
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
| I'm having trouble iterating over an array, that's been retrieved from a hash. Here's the hash definition in the node manifest: | |
| $alias_ips = { | |
| 24 => [ | |
| '10.254.16.82/24', | |
| ], | |
| } | |
| This hash is passed as a parameter to a named type, which in turn processes an erb template | |
| as part of a File definition. The erb file contains: |
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
| #!/usr/bin/env ruby | |
| require 'eventmachine' | |
| require 'em-synchrony' | |
| require 'thin' | |
| #require 'thin/version' | |
| #module Thin | |
| # def self.win? # Are we runing windows | |
| # true |
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
| Yearly on the 13th day of the month on Fridays in October | |
| YAML: | |
| --- | |
| :start_date: 2013-04-09 21:23:19.275992000 -07:00 | |
| :rrules: | |
| - :validations: | |
| :day_of_month: | |
| - 13 |
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
| #!/usr/bin/env ruby | |
| source :rubygems | |
| gem 'omniauth-ldap', '~> 1.0.3' |
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
| [root@cp-www ~]# pkgin install ap22-ruby18-passenger-3.0.15 | |
| calculating dependencies... done. | |
| nothing to upgrade. | |
| 7 packages to be installed: tcp_wrappers-7.6.1nb4 openldap-client-2.4.30 expat-2.1.0 apr-util-1.4.1nb1 apr-1.4.6 apache-2.2.22nb1 ap22-ruby18-passenger-3.0.15 (27M to download, 0B to install) | |
| proceed ? [Y/n] y | |
| downloading packages... | |
| tcp_wrappers-7.6.1nb4.tgz 100% 100KB 100.4KB/s 100.4KB/s 00:01 | |
| openldap-client-2.4.30.tgz 100% 1174KB 234.8KB/s 25.1KB/s 00:05 |
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
| [09/28/12 16:15:05 +0930 Heart-of-Gold.local (19061)] DEBUG : Sending data to New Relic Service | |
| [09/28/12 16:15:05 +0930 Heart-of-Gold.local (19061)] DEBUG : Sending data to New Relic Service | |
| [09/28/12 16:15:05 +0930 Heart-of-Gold.local (19061)] ERROR : Error running task in Agent Worker Loop 'Broken pipe': /Users/jesse/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.4.2.1/lib/new_relic/agent/pipe_channel_manager.rb:46:in `write' | |
| [09/28/12 16:15:05 +0930 Heart-of-Gold.local (19061)] DEBUG : /Users/jesse/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.4.2.1/lib/new_relic/agent/pipe_channel_manager.rb:46:in `write' | |
| /Users/jesse/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.4.2.1/lib/new_relic/agent/pipe_channel_manager.rb:46:in `<<' | |
| /Users/jesse/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.4.2.1/lib/new_relic/agent/pipe_channel_manager.rb:46:in `write' | |
| /Users/jesse/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3. |
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
| #!/bin/bash | |
| HOSTNAME="${COLLECTD_HOSTNAME:-localhost}" | |
| INTERVAL="${COLLECTD_INTERVAL:-10}" | |
| while sleep "$INTERVAL"; do | |
| VALUE=1.23 | |
| echo "PUTVAL \"$HOSTNAME/exec-magic/gauge-magic_level\" interval=$INTERVAL N:$VALUE" | |
| done |
This file has been truncated, but you can view the full file.
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
| ==> Downloading http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.10.tar.xz | |
| Already downloaded: /Users/jesse/Library/Caches/Homebrew/gtk+-2.24.10.tar.xz | |
| xz -dc "/Users/jesse/Library/Caches/Homebrew/gtk+-2.24.10.tar.xz" | /usr/bin/tar xf - | |
| ==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk+/2.24.10 --disable-glibtest --disable-introspection --disable-visibility | |
| ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk+/2.24.10 --disable-glibtest --disable-introspection --disable-visibility | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether build environment is sane... yes | |
| checking for a thread-safe mkdir -p... ./install-sh -c -d | |
| checking for gawk... no | |
| checking for mawk... no |