The version of puppet is 2.6.8.
If I try to run the agent on the server side, I get the modules. But
there is any way to do that without running the client in the server?
root@<server> /etc/puppet# puppet agent --no-daemonize --environment
development --verbose --onetime
info: Retrieving plugin
notice: /File[/var/lib/puppet/lib/puppet]/ensure: created
notice: /File[/var/lib/puppet/lib/puppet/test]/ensure: created
notice: /File[/var/lib/puppet/lib/puppet/test/iptables.rb]/ensure:
defined content as '{md5}79b686248bc15ca126e53acbdb31735f'
notice: /File[/var/lib/puppet/lib/puppet/type]/ensure: created
notice: /File[/var/lib/puppet/lib/puppet/type/iptables.rb]/ensure:
defined content as '{md5}2b8e9ec04676207536608563d9933781'
info: Loading downloaded plugin /var/lib/puppet/lib/puppet/type/
iptables.rb
info: Loading downloaded plugin /var/lib/puppet/lib/puppet/test/
iptables.rb
info: Caching catalog for <server>
info: Applying configuration version '1309855716'



On 5 jul, 19:56, Ken Barber <k...@puppetlabs.com> wrote:
> Do you get any errors when you run puppetd/puppet agent on the server
> side? (as apposed to running it on the client).
>
> What version of puppet are you running btw?
>
> ken.
>
>
>
>
>
>
>
> On Tue, Jul 5, 2011 at 9:11 AM, alan bover <alanbo...@gmail.com> wrote:
> > Hi, I've been doing some testings with an iptables puppet recepy on my
> > own deployment, where the puppetd and puppetmasterd are in different
> > machines. I don't really understand how to make puppetmasterd get
> > automatically the libraries from the modules. Some workaround:
>
> > The module iptables structure:
>
> > - iptables /
> >              - tests/
> >              - lib /
> >                     - puppet /
> >                                  - test /
> >                                          - iptables.rb
> >                                  - type /
> >                                           - iptables.rb
>
> > As I could see, on the master side, the folder 'lib' needs to be
> > copied in /var/lib/puppet/lib/.., or otherwise the client will launch
> > an error because the puppetmaster ignores the type iptables at
> > compiling time.
>
> > I set in both server and client the configurations of pluginsync =
> > true, and plugindest. But I always get the same problem: on the client
> > side, it downloads the plugin from the server and place it in /var/lib/
> > puppet/lib/, and after I get an error because the server does not do
> > the same with the module to his own directory. The solution for the
> > moment was copy it manually.
>
> > How should I do for the server get automatically the plugins and load
> > them into plugindest?
>
> > Thanks
>
> > --
> > 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 
> > athttp://groups.google.com/group/puppet-users?hl=en.

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

Reply via email to