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
### 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 |
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
#!/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 |
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
bin/cucumber --require features/ features/example-script.feature |