Thank you Ken,

I have downloaded 1.2.0 iptables as you suggested.

I copied ruby script
r...@puppet-master:/etc/puppet/modules/type# ls -l
total 32
-rw-rw-r-- 1 root root 31539 2010-10-30 03:37 iptables.rb

Looks like I don't have other plugins, iptables is the only puppet
plugin I have

r...@puppet-master:/etc/puppet/modules/type# ls /var/lib/puppet/lib
type
r...@puppet-master:/etc/puppet/modules/type# ls /var/lib/puppet/lib/
type/
iptables.rb

I have this error every time I try to access iptable type
r...@puppet-client-ubuntu:~# puppetd --waitforcert 60 --test
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information from source(s) puppet://puppet/plugins
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type iptables at /etc/puppet/manifests/site.pp:10 on
node puppet-client-ubuntu.harbour
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

Thank you very much for your help
Dmytro

On Dec 15, 10:03 am, Ken Barber <k...@bob.sh> wrote:
> Hi Dmytro,
>
> So looking at what you have posted .... I can see a couple of things that
> trouble me:
>
> ..
> info: Retrieving plugin
> err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve
> information from source(s) puppet://puppet/plugins
> ..
>
> Is this error always occurring? Are you able to synchronise Ruby plugins at
> all? You can check by looking at /var/lib/puppet/lib to see if anything else
> lives there. It just looks like generally your clients aren't synchronising
> plugins at all - but I could be wrong :-).
>
> Also the sync location doesn't look right to me on your puppetmaster ... you
> show:
>
> ...
> r...@puppet-master:/var/lib/puppet/lib/type# ls -l
> total 28
> -rw-rw-r-- 1 root root 26625 2010-06-18 18:14 iptables.rb
> ...
>
> But it should have sync'd here:
>
> ..
> r...@puppet-master:/var/lib/puppet/lib/type# ls -l
> total 28
> -rw-rw-r-- 1 root root 26625 2010-06-18 18:14 iptables.rb
> ..
>
> Did it actually synchronise on its own (ie. after running puppet) like this
> on your puppetmaster? Did you deploy the entire module into a path like
> /etc/puppet/modules/iptables?
>
> Oh btw. I'm not entirely sure the camptocamp revision is 2.6.x compatible.
>
> Try the revision here:
>
> https://github.com/bobsh/puppet-iptables/tree/1.2.0
>
> <https://github.com/bobsh/puppet-iptables/tree/1.2.0>ken.
>
> On Tuesday, December 14, 2010 10:35:18 PM UTC, Dmytro Bablinyuk wrote:
>
> > I have downloaded and deployed puppet-iptables (I have puppet 2.6.4)
>
> > On both client and master config looks like this
>
> > [main]
> > logdir=/var/log/puppet
> > vardir=/var/lib/puppet
> > ssldir=/var/lib/puppet/ssl
> > rundir=/var/run/puppet
> > libdir=/var/lib/puppet/lib
> > factpath=$vardir/lib/facter
> > pluginsync=true
> > plugindest=/var/lib/puppet/lib
> > templatedir=$confdir/templates
> > prerun_command=/etc/puppet/etckeeper-commit-pre
> > postrun_command=/etc/puppet/etckeeper-commit-post
> > modulepath=/etc/puppet/modules
>
> > I have deployed iptables.rb
>
> > r...@puppet-master:/var/lib/puppet/lib/type# ls -l
> > total 28
> > -rw-rw-r-- 1 root root 26625 2010-06-18 18:14 iptables.rb
>
> > When I connect client to test a simple iptables action I have a error,
> > obviously I have deployed iptables in the wrong place or failed to
> > register somewhere.
>
> > r...@puppet-client-ubuntu:~# puppetd --waitforcert 60 --test
> > info: Retrieving plugin
> > err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
> > retrieve information from source(s) puppet://puppet/plugins
> > err: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
> > Invalid resource type iptables at /etc/puppet/manifests/site.pp:10 on
> > node puppet-client-ubuntu.harbour
> > warning: Not using cache on failed catalog
> > err: Could not retrieve catalog; skipping run
>
> > I tried to move type folder around but still no luck
>
> > Can anybody advise on this?
>
> > Thank you very much!
> > Dmytro

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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