From: Nicolas Boisselier Date: Thu, 12 Mar 2015 20:08:59 +0000 (+0000) Subject: nb-rb X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=a7574d1f7f7bbe7d902659834957b846ea9be76c;p=nb.git nb-rb --- diff --git a/etc/bashrc.function b/etc/bashrc.function index ea2cca64..02b6c9fc 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -216,3 +216,7 @@ puppet-upgrade-modules() { yaml2perl() { perl -MYAML -MData::Dumper -e 'print Dumper YAML::Load(join("",<>))' $@ } + +nb-rb() { + ruby -r/etc/puppet/modules/nb/lib/nb.rb -e "$@" +}