Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Dan White
That is as good a reason as any I can think of: advance planning. Thanks for sharing. On Dec 5, 2012, at 4:38 PM, Ellison Marks wrote: > As to why is this a concern, I don't know yet what I might use namevar for > (not writing manifests, as I've just been told :P), but if or when that time > co

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Ellison Marks
t; >>>> >>>> >>>> On Wednesday, December 5, 2012 12:55:16 PM UTC-8, Ygor wrote: >>>> >>>>> The info you are asking for is at the top of the Type Reference page: >>>>> >>>>> The namevar is the parameter u

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Dan White
ife exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - Original Message - From: "Gary Larizza" To: puppet-users@googlegroups.com Sent: Wednesday, December 5, 2012 4:15:17 PM Subject: Re: [Puppet Users] Slight o

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Gary Larizza
the parameter that gets assigned when a string is provided before >>>> the colon in a type declaration. In general, only developers will need to >>>> worry about which parameter is the namevar. >>>> >>>> “Sometimes I think the surest sign that intelligent life exis

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Ellison Marks
gt;> worry about which parameter is the namevar. >>> >>> “Sometimes I think the surest sign that intelligent life exists >>> elsewhere in the universe is that none of it has tried to contact us.” >>> Bill Waterson (Calvin & Hobbes) >>> >>&g

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Gary Larizza
intelligent life exists elsewhere >> in the universe is that none of it has tried to contact us.” >> Bill Waterson (Calvin & Hobbes) >> >> ----- Original Message - >> From: "Ellison Marks" >> To: puppet...@googlegroups.com >> Sent: Wednesday,

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Ellison Marks
ign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > - Original Message - > From: "Ellison Marks" > > To: puppet...@googlegroups.com > Sent: Wednesda

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Dan White
roups.com Sent: Wednesday, December 5, 2012 3:49:49 PM Subject: Re: [Puppet Users] Slight oversight in the type documentation Yes, And while the command line tools and looking at the code are as accurate as ever, it would be nice to find that info on the type page as well. http://docs.

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Ellison Marks
Yes, And while the command line tools and looking at the code are as accurate as ever, it would be nice to find that info on the type page as well. http://docs.puppetlabs.com/references/latest/type.html On Wednesday, December 5, 2012 12:44:50 PM UTC-8, Gary Larizza wrote: > > Hi Ellison, > > Yo

Re: [Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Gary Larizza
Hi Ellison, You can do `puppet decribe ` from the command line and it should tell you which attribute is the namevar for that type. Most types use 'name' for their namevar, but some (like file) do not. Hope that helps! On Wed, Dec 5, 2012 at 11:46 AM, Ellison Marks wrote: > So I was looking

[Puppet Users] Slight oversight in the type documentation

2012-12-05 Thread Ellison Marks
So I was looking at the type reference, and noticed that for a lot of the types, no namevar was listed. When I checked the types in the code, for each of those omissions, the namevar was simply "name". Now, it might be self evident that this is the case, but a little documentation couldn't hurt