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
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
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
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
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
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,
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
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.
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
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
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
11 matches
Mail list logo