Re: [Puppet Users] parsedfile help needed

2011-10-14 Thread Guy Matz
Thanks! That begs the question: What's the difference between newparam & newproperty? One other thing: Does anyone know why I would get the following error after switching from newparam to newproperty? err: Could not retrieve catalog from remote server: Could not intern from pson: undefined met

Re: [Puppet Users] parsedfile help needed

2011-10-14 Thread Brice Figureau
Hi, On Thu, 2011-10-13 at 17:47 -0400, Guy Matz wrote: > Thanks for the reply!! One more thing I can't quite figure out: How > to get a new entry in my target file! I can parse, but an entry in > manifests doesn't magically appear. Do I need to add something to my > provider or type to get tha

Re: [Puppet Users] parsedfile help needed

2011-10-13 Thread Adrien Thebo
Unfortunately, the parsedfile provider is mainly documented by code that uses it. I've been meaning to write up a document on it, but I've been unable to find the time. In the mean time, the OSUOSL has some providers for gentoo that use the parsedfile provider, found at https://github.com/ramereth/

Re: [Puppet Users] parsedfile help needed

2011-10-13 Thread Guy Matz
Thanks for the reply!! One more thing I can't quite figure out: How to get a new entry in my target file! I can parse, but an entry in manifests doesn't magically appear. Do I need to add something to my provider or type to get that to happen? Any help would be s appreciated; i'm getting t

Re: [Puppet Users] parsedfile help needed

2011-10-12 Thread Brice Figureau
On 12/10/11 19:12, Guy Matz wrote: > hi! > I've seen it reported that there is no official doc for parsedfile; does > anyone know if this is still true? > > I'm trying to make a new type and getting stuck on how parsedfile works > . . . Any help would be appreciated: > > regarding the "Puppet::

[Puppet Users] parsedfile help needed

2011-10-12 Thread Guy Matz
hi! I've seen it reported that there is no official doc for parsedfile; does anyone know if this is still true? I'm trying to make a new type and getting stuck on how parsedfile works . . . Any help would be appreciated: regarding the "Puppet::Type.type(:newType).provide" line: 1. What does the