Skip to content

Instantly share code, notes, and snippets.

View awaxa's full-sized avatar

Greg Kitson awaxa

View GitHub Profile
Info: Class[Profile::R10k]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Profile::Firewall/Firewall[9001 fe701ab7ca74bd49f13b9f0ab39f3254]/ensure: removed
Notice: /Stage[main]/Profile::Firewall/Firewall[9002 49bcd611c61bdd18b235cea46ef04fae]/ensure: removed
Notice: /Stage[main]/Profile::Firewall/Firewall[9003 dc0f1adfee77aa04ef7fdf348860a701]/ensure: removed
Notice: /Stage[main]/Puppet_enterprise::Profile::Master::Console/File[/etc/puppetlabs/puppet/console.conf]/group: group changed 'pe-puppet' to 'root'
Notice: /Stage[main]/Puppet_enterprise::Console::Config/File[/opt/puppet/share/live-management/config.ru]/owner: owner changed 'puppet-dashboard' to 'root'
Notice: /Stage[main]/Puppet_enterprise::Console::Config/File[/opt/puppet/share/live-management/config.ru]/group: group changed 'puppet-dashboard' to 'root'
Info: /Stage[main]/Puppet_enterprise::Console::Config/File[/opt/puppet/share/live-management/config.ru]: Scheduling refresh of Service[pe-httpd]
Info: /Stage[main]/Puppet_enterpr
$ git checkout production
Warning: you are leaving 3 commits behind, not connected to
any of your branches:
f345780 f
d11cfdc add lenient firewall resource for webhook
882d443 add r10k::webhook
If you want to keep them by creating a new branch, this may be a good time
to do so with:
notify { 'event': } ~>
exec { '/bin/echo "testing"':
refreshonly => true,
logoutput => true,
}
@awaxa
awaxa / -
Created January 12, 2015 21:34
# Pastebin 4KyBQw0L
describe "default recipe" {
it "should expose a nuget packages feed" {
$packages = Invoke-RestMethod -Uri "http://localhost/nuget/Packages"
$packages.Count | should not be 0
$packages[0].Title.InnerText | should be 'elmah'
}
context "firewall" {
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.pe_build.version = '3.3.2'
config.pe_build.download_root = 'http://s3.amazonaws.com/pe-builds/released/:version'
config.vm.box = 'puppetlabs/centos-6.5-64-nocm'
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--memory', '4096']
#!/usr/bin/python
import httplib
import httplib2
import os
import random
import sys
import time
from apiclient.discovery import build
2014-12-27T05:07:28.906989+00:00 app[web.1]: [Sat Dec 27 2014 05:07:28 GMT+0000 (UTC)] INFO ##diabot <awaxa> testdiabot: nutr one cup white flour
2014-12-27T05:07:37.032129+00:00 app[web.1]: [Sat Dec 27 2014 05:07:37 GMT+0000 (UTC)] INFO ##diabot <testdiabot> serving size 1 cup (138 g) | total calories 481: fat calories 0 | % daily value^*: | total fat 0 g: 0% | saturated fat 0 g: 0% | trans fat 0 g: | cholesterol 0 g: 0% | sodium 0 g: 0% | total carbohydrates 100 g: 33% | dietary fiber | sugar 4 g: | protein 16 g: 32% | iron 40% | *percent daily values are based on a 2000 calorie diet
2014-12-27T05:07:48.205103+00:00 app[web.1]: [Sat Dec 27 2014 05:07:48 GMT+0000 (UTC)] INFO ##diabot <awaxa> testdiabot: wfa nutrition one cup white flour
2014-12-27T05:07:55.958064+00:00 app[web.1]: [Sat Dec 27 2014 05:07:55 GMT+0000 (UTC)] INFO ##diabot <testdiabot> serving size 1 cup (138 g); total calories 481: fat calories 0; % daily value^*: ; total fat 0 g: 0%; saturated fat 0 g: 0%; tr
2014-12-27T04:40:36.327399+00:00 heroku[api]: Enable Logplex by [email protected]
2014-12-27T04:40:36.327434+00:00 heroku[api]: Release v2 created by [email protected]
2014-12-27T04:44:11.302563+00:00 heroku[api]: Set HEROKU_URL, HUBOT_AUTHENTIC_JOBS_API_KEY, HUBOT_BITLY_ACCESS_TOKEN, HUBOT_DARK_SKY_API_KEY, HUBOT_DARK_SKY_SEPARATOR, HUBOT_HEROKU_KEEPALIVE_INTERVAL, HUBOT_IRC_NICK, HUBOT_IRC_PORT, HUBOT_IRC_REALNAME, HUBOT_IRC_ROOMS, HUBOT_IRC_SERVER, HUBOT_IRC_UNFLOOD, HUBOT_IRC_USESSL, HUBOT_TWITTER_ACCESS_TOKEN, HUBOT_TWITTER_ACCESS_TOKEN_SECRET, HUBOT_TWITTER_CONSUMER_KEY, HUBOT_TWITTER_CONSUMER_SECRET, HUBOT_WOLFRAM_APPID, HUBOT_WWO_API_KEY, HUBOT_WWO_API_URL config vars by [email protected]
2014-12-27T04:44:11.302563+00:00 heroku[api]: Release v3 created by [email protected]
2014-12-27T04:44:34+00:00 heroku[slug-compiler]: Slug compilation started
2014-12-27T04:45:44.491025+00:00 heroku[api]: Scale to web=1 by [email protected]
2014-12-27T04:45:44.687714+00:00 heroku[api]: Release v4
[Fri Dec 26 2014 20:31:01 GMT-0800 (PST)] ERROR Unable to load /Users/awaxa/src/diabot/scripts/wolfram: SyntaxError: unexpected {
at Object.exports.throwSyntaxError (/Users/awaxa/src/diabot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/helpers.js:197:13)
at Object.parser.yy.parseError (/Users/awaxa/src/diabot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:265:20)
at Object.parse (/Users/awaxa/src/diabot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/parser.js:537:22)
at exports.compile.compile (/Users/awaxa/src/diabot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:35:24)
at Object.loadFile (/Users/awaxa/src/diabot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:176:14)
at Module.load (/Users/awaxa/src/diabot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
at Function.Module._load (module.js:312:12)
at Module.require (mo
d> https://twitter.com/danhett/status/521695486584295424
d> Twitter link; ignoring
[Thu Dec 25 2014 19:28:31 GMT-0800 (PST)] ERROR TypeError: Object #<Object> has no method 'count_occurrences'
at /Users/awaxa/src/diabot/scripts/twitter-parse.coffee:66:25, <js>:62:30
at responseHandler (/Users/awaxa/src/diabot/node_modules/twit/lib/oarequest.js:375:12)
at passBackControl (/Users/awaxa/src/diabot/node_modules/twit/node_modules/oauth/lib/oauth.js:367:11)
at IncomingMessage.<anonymous> (/Users/awaxa/src/diabot/node_modules/twit/node_modules/oauth/lib/oauth.js:386:9)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)