Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer
    
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 9 '11 at 3:29
    
Also, a working custom package provider is at github.com/chocolatey/puppet-chocolatey – ferventcoder Sep 10 '15 at 14:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.