> Prompted by this email, I went and created
> /var/lib/puppet/lib/puppet/type/iptables.rb on my puppetmaster. Doing
> so, causes things to work. Removing it leaves them working, at least
> till I restart puppetmaster, then it fails until I manually populate
> that. I'm not sure what how this should work. I get this error
> regardless of the filesystem permission on libdir.

I pulled the debug/trace logs off the puppetmaster, I don't see anything
obviously wrong, but I've attached them.

I'm not finding much documentation on how this should work.

seph



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

info: Inserting default '~ ^/catalog/([^/]+)$'(auth) acl because 
/etc/puppet/auth.conf doesn't exist
info: Inserting default '/file'(non-auth) acl because /etc/puppet/auth.conf 
doesn't exist
info: Inserting default '/certificate_revocation_list/ca'(auth) acl because 
/etc/puppet/auth.conf doesn't exist
info: Inserting default '/report'(auth) acl because /etc/puppet/auth.conf 
doesn't exist
info: Inserting default '/certificate/ca'(non-auth) acl because 
/etc/puppet/auth.conf doesn't exist
info: Inserting default '/certificate/'(non-auth) acl because 
/etc/puppet/auth.conf doesn't exist
info: Inserting default '/certificate_request'(non-auth) acl because 
/etc/puppet/auth.conf doesn't exist
info: mount[files]: allowing 10.14.0.0/16 access
info: mount[files]: allowing 10.41.0.0/16 access
info: mount[files]: allowing 66.227.56.0/26 access
info: mount[plugins]: allowing 10.14.0.0/16 access
info: mount[plugins]: allowing 10.41.0.0/16 access
info: mount[plugins]: allowing 66.227.56.0/26 access
debug: Using cached node for puppet-test.colo41.example.com
warning: /File[/var/log/puppet/rails.log]/owner: Cannot manage ownership unless 
running as root
debug: Finishing transaction 70076726986500 with 0 changes
info: Expiring the node cache of puppet-test.colo41.example.com
info: Not using expired node for puppet-test.colo41.example.com from cache; 
expired at Fri Aug 07 12:11:13 -0400 2009
debug: Using cached facts for puppet-test.colo41.example.com
info: Caching node for puppet-test.colo41.example.com
debug: importing '/etc/puppet/manifests/templates.pp'
debug: importing '/etc/puppet/manifests/nodes.pp'
debug: importing '/etc/puppet/modules/user/manifests/init.pp'
debug: importing '/etc/puppet/modules/sudo/manifests/init.pp'
debug: importing '/etc/puppet/modules/ntp/manifests/init.pp'
debug: importing '/etc/puppet/modules/syslog/manifests/init.pp'
debug: importing '/etc/puppet/modules/sshd/manifests/init.pp'
debug: importing '/etc/puppet/modules/puppet/manifests/init.pp'
debug: importing '/etc/puppet/modules/postfix/manifests/init.pp'
debug: importing '/etc/puppet/modules/iptables/manifests/init.pp'
info: Autoloaded module iptables
/usr/lib/ruby/1.8/puppet/parser/ast/resource_reference.rb:62:in `qualified_type'
/usr/lib/ruby/1.8/puppet/parser/ast/resource.rb:28:in `evaluate'
/usr/lib/ruby/1.8/puppet/parser/ast.rb:72:in `safeevaluate'
/usr/lib/ruby/1.8/puppet/parser/ast/astarray.rb:35:in `evaluate'
/usr/lib/ruby/1.8/puppet/parser/ast/astarray.rb:34:in `collect'
/usr/lib/ruby/1.8/puppet/parser/ast/astarray.rb:34:in `evaluate'
/usr/lib/ruby/1.8/puppet/parser/ast.rb:72:in `safeevaluate'
/usr/lib/ruby/1.8/puppet/parser/ast/hostclass.rb:82:in `evaluate_code'
/usr/lib/ruby/1.8/puppet/parser/resource.rb:73:in `evaluate'
/usr/lib/ruby/1.8/puppet/parser/compiler.rb:235:in `evaluate_ast_node'
/usr/lib/ruby/1.8/puppet/parser/compiler.rb:94:in `compile'
/usr/lib/ruby/1.8/puppet/parser/interpreter.rb:29:in `compile'
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:88:in `compile'
/usr/lib/ruby/1.8/puppet/util.rb:180:in `benchmark'
/var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in
 `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:179:in `benchmark'
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:86:in `compile'
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:35:in `find'
/usr/lib/ruby/1.8/puppet/indirector/indirection.rb:198:in `find'
/usr/lib/ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:97:in `do_find'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:66:in `send'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:66:in `process'
/usr/lib/ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `initialize'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `new'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:37:in `synchronize'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:37:in `listen'
/usr/lib/ruby/1.8/puppet/network/server.rb:131:in `listen'
/usr/lib/ruby/1.8/puppet/network/server.rb:146:in `start'
/usr/lib/ruby/1.8/puppet/daemon.rb:128:in `start'
/usr/lib/ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main'
/usr/lib/ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetmasterd:66
err: Could not find resource type iptables at 
/etc/puppet/manifests/templates.pp:78 on node puppet-test.colo41.example.com
/usr/lib/ruby/1.8/puppet/parser/interpreter.rb:32:in `compile'
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:88:in `compile'
/usr/lib/ruby/1.8/puppet/util.rb:180:in `benchmark'
/var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in
 `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:179:in `benchmark'
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:86:in `compile'
/usr/lib/ruby/1.8/puppet/indirector/catalog/compiler.rb:35:in `find'
/usr/lib/ruby/1.8/puppet/indirector/indirection.rb:198:in `find'
/usr/lib/ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:97:in `do_find'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:66:in `send'
/usr/lib/ruby/1.8/puppet/network/http/handler.rb:66:in `process'
/usr/lib/ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `initialize'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `new'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:37:in `synchronize'
/usr/lib/ruby/1.8/puppet/network/http/webrick.rb:37:in `listen'
/usr/lib/ruby/1.8/puppet/network/server.rb:131:in `listen'
/usr/lib/ruby/1.8/puppet/network/server.rb:146:in `start'
/usr/lib/ruby/1.8/puppet/daemon.rb:128:in `start'
/usr/lib/ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main'
/usr/lib/ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetmasterd:66
err: Could not find resource type iptables at 
/etc/puppet/manifests/templates.pp:78 on node puppet-test.colo41.example.com

Reply via email to