Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-19 Thread Jeff McCune
On Tue, Sep 18, 2012 at 5:00 PM, Mitchell Hashimoto < mitchell.hashim...@gmail.com> wrote: > On Tue, Sep 18, 2012 at 1:46 PM, Jeff McCune wrote: > >> >> In Telly (Puppet 3.0.0), we support plugins distributed as rubygems, so >> `require "foo/bar"` will work in this scenario, but only if the plugi

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-18 Thread Mitchell Hashimoto
On Tue, Sep 18, 2012 at 1:46 PM, Jeff McCune wrote: > On Tue, Sep 18, 2012 at 10:15 AM, Mitchell Hashimoto < > mitchell.hashim...@gmail.com> wrote: > >> Thanks! This looks like basically what I was planning on doing, so it is >> good to see that this works. >> > > I'm glad. > > >> Can you expand

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-18 Thread Jeff McCune
On Tue, Sep 18, 2012 at 10:15 AM, Mitchell Hashimoto < mitchell.hashim...@gmail.com> wrote: > Thanks! This looks like basically what I was planning on doing, so it is > good to see that this works. > I'm glad. > Can you expand on how #4248 is worked around by your pull? > Sure, the issue is th

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-18 Thread Mitchell Hashimoto
Jeff, On Tue, Sep 18, 2012 at 10:02 AM, Jeff McCune wrote: > On Fri, Sep 14, 2012 at 4:48 PM, Mitchell Hashimoto < > mitchell.hashim...@gmail.com> wrote: > >> Hi, >> >> I'd like to DRY up some of my Puppet lib code and wanted to put helper >> classes in other parts of the "lib/" folder in my plu

Re: [Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-18 Thread Jeff McCune
On Fri, Sep 14, 2012 at 4:48 PM, Mitchell Hashimoto < mitchell.hashim...@gmail.com> wrote: > Hi, > > I'd like to DRY up some of my Puppet lib code and wanted to put helper > classes in other parts of the "lib/" folder in my plugin. > There are a couple of issues that prevent require from simply w

[Puppet Users] Arbitrary Code in plugin "lib/"

2012-09-14 Thread Mitchell Hashimoto
Hi, I'd like to DRY up some of my Puppet lib code and wanted to put helper classes in other parts of the "lib/" folder in my plugin. What is the best way to access these files? I can think of various ways that may be considered hacks but wanted to know if there was a preferred way. Best, Mitchel