Hi Hunter,
Yes, oogs-dev is the master in this case. This environment also has the
latest version of puppetlabs/firewall. As for the caching issue, the
puppet daemon uses passenger to have multiple copies of the daemon
running simultaneously, and they usually reload every 5-10 minutes.
Running 'puppet agent -t' now produces the same result as it did earlier.
-Chris
On 8/11/14, 4:32 PM, Hunter Haugen wrote:
oogs@oogs-dev:/etc/puppet-dev/modules/firewall/lib/puppet/type$
grep -A6 purge firewallchain.rb
newparam(:purge, :boolean => true) do
desc <<-EOS
Purge unmanaged firewall rules in this chain
EOS
newvalues(:false, :true)
defaultto :false
end
I assume oogs-dev is the puppet master?
If I run puppet on my test node, oogs-test01, I get the following:
root@oogs-test01:~# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/mounts.rb
Info: Loading facts in /var/lib/puppet/lib/facter/scst_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/lib/puppet/lib/facter/lvm_facters.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/blockdevice_controller.rb
Info: Loading facts in /var/lib/puppet/lib/facter/oncall.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/nfs_homes.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in
/var/lib/puppet/lib/facter/vmwaretools_version.rb
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter purge on Firewallchain[foo:filter:IPv4]
at /etc/puppet-dev/manifests/site.pp:5 on node oogs-test01.test.lab
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
This is an error from the server, so perhaps the type is not reloaded.
When types are updated (such as upgrading the firewall module) the
puppet master process will still have the old versions loaded in
memory until the daemon is restarted. You could try restarting or
reloading your puppet master and see if the new types are found.
Oh, and if your puppet master (oogs-dev) is on a puppet environment
that has an old version of puppetlabs-firewall, it will still have an
old cache of the type even after restarting. You can check this by
looking in /var/lib/puppet/lib/puppet/type/firewallchain.rb on the
master and seeing if it has the purge attribute. Updating to the
latest firewall module in the master's puppet environment and then
running `puppet plugin download` on the master might help synchronize
that.
--
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
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/CAJaQvGCm9%3D46cYL6zujQvZTmnaHwD9Z9vau4Y5Mv23iWnx2qeg%40mail.gmail.com
<https://groups.google.com/d/msgid/puppet-users/CAJaQvGCm9%3D46cYL6zujQvZTmnaHwD9Z9vau4Y5Mv23iWnx2qeg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/53E92E1F.2090601%40merit.edu.
For more options, visit https://groups.google.com/d/optout.