On Monday, February 10, 2014 2:36:05 PM UTC-6, [email protected] wrote: > > Hi > > I'm probably doing something horribly wrong. I can sense it, but it hasn't > properly kicked in yet... > > I'm trying to create a module for iptables. This is to make servers that > have similar purpose, have the same flrewall configuration. > I created the modules/iptables/{manifests,files,templates} structure, Iike > I have for a few modules I have been able to put together. > > For some reason puppet claims not to see the iptables:::config class, >
If during catalog compilation Puppet encounters a declaration of class iptables::config, and no definition of that class has yet been discovered, then Puppet will look for a definition in <module_path>/iptables/manifests/config.pp. If there are multiple directories in your module path then Puppet will check each, in order. Moreover, the Puppet master must be able to read that file. In that regard, note especially that the master normally runs as an unprivileged user (named "puppet" by default). John -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/2013d9d4-1656-4657-bdf1-154f3acdde50%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
