2

The puppet-rvm FAQ mentions that they didn't extend the package type because "it becomes harder to manage multiple Ruby versions and nearly impossible to install gems for a specific Ruby version". I don't need multiple Ruby versions, nor gems for them.

The author of puppet-rvm is implying that it's possible to extend puppet types. Google searching on the topic failed to turn up anything of interest. How does one extend built-in puppet types?

troutwine
  • 1,452
  • 5
  • 18
  • 33

1 Answers1

4

I don't know where you searched, but all information can be found on puppet docs site.

You can add stuff in all sort of ways to Puppet. There are four main categories which are:

There's even a complete example of new resources.

Daniel C. Sobral
  • 5,713
  • 6
  • 34
  • 48
  • Thank you. According to my browser history logs I google searched for the phrase "puppet add provider" and mild variations thereon. Interestingly enough, now that I've clicked on the links you've provided these are the top results for the phrase above. – troutwine Nov 09 '11 at 03:29
  • Also, a working custom package provider is at https://github.com/chocolatey/puppet-chocolatey – ferventcoder Sep 10 '15 at 14:39