Tom Limoncelli
2012-Jan-20 21:14 UTC
[Puppet Users] Writing a resource type provider in Python
Is it possible to write a provider in Python? I have to access something via a library that is written in Python. I''d rather not rewrite the library in Ruby, or call out to shell. I couldn''t find any references on how to do this on the Puppet website and web searches for [puppet providers in python] or [writing puppet resources in python] mostly turn up links about using Puppet to manage Python and Python packages. Tom -- http://EverythingSysadmin.com -- my blog http://www.TomOnTime.com -- my videos -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nan Liu
2012-Jan-26 18:50 UTC
Re: [Puppet Users] Writing a resource type provider in Python
On Fri, Jan 20, 2012 at 4:14 PM, Tom Limoncelli <tal@whatexit.org> wrote:> Is it possible to write a provider in Python? I have to access > something via a library that is written in Python. I''d rather not > rewrite the library in Ruby, or call out to shell. > > I couldn''t find any references on how to do this on the Puppet website > and web searches for [puppet providers in python] or [writing puppet > resources in python] mostly turn up links about using Puppet to manage > Python and Python packages.AFAIK, currently only in Ruby. Maybe something like http://rubypython.rubyforge.org/ can bridge the gap. Thanks, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.