Skip to content

Instantly share code, notes, and snippets.

View ripienaar's full-sized avatar

R.I.Pienaar ripienaar

View GitHub Profile
### Module
module MCollective
module Agent
# A simpleRPC Agent that replies with each active config setting.
#
class Confignotify<RPC::Agent
action "get_config" do
config = Config.instance
#!/usr/bin/env ruby
#
# This script reads lines from STDIN and sends a notification for each line.
# It's intended to be used with the fnotify.pl IRSSI script to write notices
# and hilights to a plain text file. tail -f links the two systems together.
require 'mcollective'
include MCollective::RPC
bin/cucumber --require features/ features/example-script.feature