Re: [Puppet Users] debugging new custom type

2011-09-20 Thread Guy Matz
But to answer your question, vncservers file is a little different . . . there are two type of lines: 1. contains a space-separated list of port and usernames separated by colons, e.g.: VNCSERVERS="92:gmatz 44:wsmith" 2. contains arguments to be supplied to vncserver, with port number acting as a

Re: [Puppet Users] debugging new custom type

2011-09-20 Thread Guy Matz
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 anyo

Re: [Puppet Users] debugging new custom type

2011-09-19 Thread Stefan Schulte
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 r

Re: [Puppet Users] debugging new custom type

2011-09-19 Thread Adrien Thebo
With respect to this recent error, I'm guessing that the path to the pid file doesn't exist. With the issue you've been having on the type/provider itself, I believe that I found that the parsedfile provider generally has name hard coded as the namevar. This may be a bit far fetched, but see if cha

Re: [Puppet Users] debugging new custom type

2011-09-17 Thread Guy Matz
ok, i found out what pastebin is. All on my own!! :-) But puppet agent --trace doesn't give me very much output. Only: [root@gmatzpupnode ~]# puppet agent --trace /opt/puppet/lib/ruby/site_ruby/1.8/puppet/daemon.rb:47:in `create_pidfile' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util.rb:38:in `

Re: [Puppet Users] debugging new custom type

2011-09-17 Thread Guy Matz
Scott, Thanks for the reply!! Can you tell me what you mean by "just a definition"? or point me to a doc? Thanks a lot! Guy On Thu, Sep 15, 2011 at 8:46 PM, Scott Smith wrote: > Hm, doesn't address your issue but you could probably do thus with just a > definition instead of writing a new typ

Re: [Puppet Users] debugging new custom type

2011-09-17 Thread Guy Matz
Adrien, Thanks for the reply. can you tell me what a pastebin is? Thanks, Guy On Thu, Sep 15, 2011 at 6:50 PM, Adrien Thebo wrote: > Could you provide the output of puppet agent --trace in a pastebin to > accompany this? > > On Thu, Sep 15, 2011 at 1:22 PM, Guy Matz wrote: > >> hi! Does anyo

Re: [Puppet Users] debugging new custom type

2011-09-15 Thread Scott Smith
Hm, doesn't address your issue but you could probably do thus with just a definition instead of writing a new type. On Sep 15, 2011 1:22 PM, "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

Re: [Puppet Users] debugging new custom type

2011-09-15 Thread Adrien Thebo
Could you provide the output of puppet agent --trace in a pastebin to accompany this? On Thu, Sep 15, 2011 at 1:22 PM, 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: Cou

[Puppet Users] debugging new custom type

2011-09-15 Thread Guy Matz
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 rou