Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking for a short document that set out a list of the different types of resource defined by puppet with maybe a line or two of description for each. A similar layout for attributes would also be of interest.

BTW, I've found these docs and am looking for something more concise.

share|improve this question
1  
The puppet type reference is basically the best document for this. Yes, it's long, and somewhat overwhelming at first. You probably won't find something much shorter which is also complete. I approach the document differently: I decide what I want to do, then look for the puppet type which will deal with it. –  Avleen Jan 26 '11 at 4:26
    
@Avleen: I'm looking for more of an "at a glance" kind of reference rather than a complete reference. I want something I can use to quickly find the name of the thing I'm looking for, so I can then go and do a more in depth search for. –  BCS Jan 26 '11 at 15:59

2 Answers 2

up vote 4 down vote accepted

You can make one yourself on the fly (2.6.x syntax)

puppet doc -r type -- generates type reference

puppet doc -r function -- generates function reference

etc.

That way it's easily grep-able and accurately reflects the version you have installed.

share|improve this answer
1  
OTOH, it's kind of hard to pin on a wall. –  BCS Jan 31 '11 at 17:22

There isn't one. But there's going to be soon!

A draft of the text is at http://projects.puppetlabs.com/projects/puppet/wiki/Core_Types_Cheat_Sheet; is there anything missing from there that you'd like to see added? (Keeping in mind that there'll likely be a second cheat sheet with a rough guide to the language syntax; this is only about the core resource types.)

(Also, there's a proof-of-concept double-sided PDF available over at the issue ticket about this.)

Yes, there is!

share|improve this answer
    
Looks good. Btu just the type name and the first bit of each description is the kind of things I was thinking of. As a web page it could work to have that, and then hide the rest of the text as a collapsed section. –  BCS Feb 14 '11 at 6:23
    
Sounds like you could get some mileage out of puppet describe -s file. The -s switch makes it spit out a naked list of the attributes for that type, if all you need is a memory jog. –  nfagerlund Feb 14 '11 at 17:45

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.