Did you ever try Gepetto (https://github.com/cloudsmith/geppetto)? At least in 
the coming version (3.0) will support Puppet 3. I really do recommend Gepetto 
since I've been working with it for more than a year now and it helped me a lot 
creating error free code. You should give it a try. There are also current beta 
releases available which (as far as I know) already do support Puppet 3. It's 
available as an Eclipse plugin and as a standalone program.

Cheers,
Bernd

From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On 
Behalf Of Sandra Schlichting
Sent: Freitag, 24. August 2012 11:52
To: puppet-users@googlegroups.com
Subject: [Puppet Users] How to syntax debug in puppet 3?

Dear readers,

How do I syntax debug the config files on the puppet master before I deploy 
them?

My current problem is that server_list is to be an array, and I don't know if I 
should write

  class { 'ntp': server_list => $ntpServerList }
or
  class { 'ntp': server_list = $ntpServerList }

How do I debug such a situation on puppet 3?

Hugs,
Sandra



node "client1.example.com" {
  include common
  class { 'ntp': server_list => $ntpServerList }
}

class common {
  include common::data
}

class common::data {
  $ntpServerList = [ 'ntp1.example.com','ntp2.example.com','ntp3.example.com' ]
}

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

-- 
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