Created
May 11, 2012 14:06
-
-
Save technicalpickles/2659882 to your computer and use it in GitHub Desktop.
Hubot puppet type reference
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
# Quick access to Puppet Type Reference. No longer be thrawted by googling! | |
# | |
# puppet me <type> - get <type> reference URL | |
module.exports = (robot) -> | |
robot.respond /puppet (?:me ?)(.*)/i, (msg) -> | |
msg.send "http://docs.puppetlabs.com/references/latest/type.html##{msg.match[1]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment