Stefan, thanks again for your reply.  I'm just trying to get something
working, even if it doesn't actually do anything yet . . .

On Mon, Sep 19, 2011 at 1:48 PM, Stefan Schulte <
stefan.schu...@taunusstein.net> wrote:

> On Thu, Sep 15, 2011 at 04:22:45PM -0400, Guy Matz wrote:
> > hi!  Does anyone have any advice on debugging a new custom type?
> >
> > Any thoughts would be greatly appreciated . . .
> >
> > BTW, I'm getting the error:
> > err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> > Could not render to pson: undefined method `merge' for []:Array
> >
> > with some very rough code.
> >
> > The Type (vncserver.rb):
> > module Puppet
> >   newtype(:vncserver) do
> >
> >     ensurable
> >
> >     newproperty(:port) do
> [...]
> >     newproperty(:username) do
> [...]
> >     newproperty(:geometry) do
> [...]
> > end
> >
> > The Provider (parsed.rb):
> [...]
> >   record_line :parsed, :fields => %w{vncservers}, :match =>
> > /^VNCSERVERS="(.*)"/
> >
> > end
> >
>
> You have defined three properties (port, username, geometry) but your
> provider is not able to retrieve or write any of these properties. So
> how does a line in vncservers actually looks like? How can you get port,
> username and geometry of a certain vncserver?
>
> -Stefan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to