Hi,
I've been trying to clean up my nodes.pp file, and I broke my puppet installation. :) What I have is a tcpwrappers module that has the following in the hosts.allow template:

<% if scope.compiler.classlist.include?("tftp") then %>in.tftpd: ALL<% end %>

The following works as I would expect (the "in.tftpd: ALL" line is in hosts.allow):

node default {
  if ($hostname == 'toolbox') {
    class {'tftp': }
  }
  class {'tcpwrappers': stage => 'post' }
}

However, the following does not (even though the tcpwrappers module does run after the tftp module):

node 'toolbox' {
  class {'tftp': }
}

node default {
  class {'tcpwrappers': stage => 'post' }
}


Help?

...dave

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


Reply via email to