Knife plugins are pretty easy, especially compared to the work you’ve already done. Here is a bare minimum knife plugin (sorry the formatting sucks):
On Thursday, August 28, 2014 at 7:51 AM, Vladimir Skubriev wrote:
>
>
>
> >
> >
> > Sorry for the late reply here.
> No problem. That's OK.
> > Probably your easiest option is to write your own knife plugin: http://docs.getchef.com/plugin_knife_custom.html
>
> Now I do not have a lot of time. I developing small project for self using.
>
> https://github.com/cvisionlabops/keepassxml2chef
>
> What do you think about it ?
>
> I think writing knife-plugin is overkill for one human now.
module ThisIsAnExample
class Example < Chef::Knife
def run
puts "HELLLLOOOOOOO"
end
end
end
Put that in ~/.chef/plugins/knife/example.rb and then you can run `knife example`.
Looks pretty cool, but we’re using a different password manager, so not something we can use ourselves.
>
> But If people interested in it, then I think this is possible!
--
> --
> Faithfully yours,
>
> CVision Lab System Administrator
> Vladimir Skubriev
Daniel DeLeo
Archive powered by MHonArc 2.6.16.