Re: [Puppet Users] so close to getting new type to work!!

2011-11-10 Thread Guy Matz
Fudge!! Thanks for the pointer, Stefan . . . Yeah, the lines in match_providers_with_resources that says: if resource = match(record, matchers) # Remove this resource from circulation so we don’t unnecessarily try to match matchers.delete(resource.title) . . . Means that it can never match two l

Re: [Puppet Users] so close to getting new type to work!!

2011-11-09 Thread Stefan Schulte
On Wed, Nov 09, 2011 at 02:45:30PM -0500, Guy Matz wrote: > Stefan, > Right! I think. With a resource that looks like : > vncserver { '92': > username => 'athusr', > geometry => '123x78', > ensure => 'present'; > } > > I should get two entries in /etc/sysconfig/vncserver: > VNC

Re: [Puppet Users] so close to getting new type to work!!

2011-11-09 Thread Guy Matz
Stefan, Right! I think. With a resource that looks like : vncserver { '92': username => 'athusr', geometry => '123x78', ensure => 'present'; } I should get two entries in /etc/sysconfig/vncserver: VNCSERVERARGS[92]="-geometry 123x78" VNCSERVERS="$VNCSERVERS 92:athusr" I'm sorr

Re: [Puppet Users] so close to getting new type to work!!

2011-11-09 Thread Stefan Schulte
On Wed, Nov 09, 2011 at 01:08:37PM -0500, Guy Matz wrote: > Hi! I am s close to getting my vncserver type to work; I have one last > hurdle. There are two kinds of record lines in a vncserver config file, so > I have two record_line definitions in my provider. Only one of them gets > called,