I''m getting the following error from puppetd whenever it tries to
backup a
file to the filebucket on the server.
err:
//Node[devdata]/dataserver/data_packages/apacheconf/File[/etc/apache2/modules.d/00_mpm.conf]/source:
change from {md5}0ffbbd3efd8934e7d9113cc13a375326 to
puppet:///files/data/etc/apache2/modules.d/00_mpm.conf failed: Could not
connect to puppet on port 8140
The puppetmaster is running under passenger.
The permissions look correct to me:
drwxr-x--- 2 puppet puppet 4096 Dec 15 17:00 /var/lib/puppet/bucket/
drwxr-x--- 18 puppet root 4096 Dec 15 12:05/var/lib/puppet/clientbucket
the rack application is running as the puppet user:
puppet 29316 1 4 12:35 ? 00:00:11 Rack:
/usr/share/puppet/rack/puppetmasterd
The bucket is just the example:
# default filebucket
filebucket { main: server => puppet }
# global defaults
File { backup => main }
If I comment out the File { backup => main } line everything works fine.
What am I missing?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Christian Hofstaedtler
2008-Dec-30 15:16 UTC
[Puppet Users] Re: problem with my filebucket and passenger
I''ve just checked on my installation, and filebucket seems to work
fine (under passenger).
For testing, I put these into the manifest:
filebucket { main: server => $servername }
File { backup => main }
And these into namespaceauth.conf on the puppetmaster:
[puppetbucket]
allow *.domain.com
On Dec 29, 9:43 pm, "Jeff Frost" <jeff.fr...@gmail.com>
wrote:> I''m getting the following error from puppetd whenever it tries to
backup a
> file to the filebucket on the server.
>
> err:
>
//Node[devdata]/dataserver/data_packages/apacheconf/File[/etc/apache2/modules.d/00_mpm.conf]/source:
> change from {md5}0ffbbd3efd8934e7d9113cc13a375326 to
> puppet:///files/data/etc/apache2/modules.d/00_mpm.conf failed: Could not
> connect to puppet on port 8140
Is your puppetmaster really called "puppet"? Can you connect (for
example by using telnet) from the client to "puppet" on port 8140?
Christian
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Jeff Frost
2008-Dec-31 18:03 UTC
[Puppet Users] Re: problem with my filebucket and passenger
On Tue, Dec 30, 2008 at 7:16 AM, Christian Hofstaedtler < hofstaedtler@inqnet.at> wrote:> > I''ve just checked on my installation, and filebucket seems to work > fine (under passenger). > > For testing, I put these into the manifest: > filebucket { main: server => $servername } > File { backup => main } > > And these into namespaceauth.conf on the puppetmaster: > [puppetbucket] > allow *.domain.com > > > Is your puppetmaster really called "puppet"? Can you connect (for > example by using telnet) from the client to "puppet" on port 8140? >Gah! Of course my puppetmaster isn''t named "puppet"! How did I miss that. Trying $servername or $server both fail, but using the actual nodename seems to work ok. Using the variables has it choke on certificate validation even though using puppet://$server/files/ type urls work fine for sources. The tricky bit is that the nodes need to talk to the puppetmaster on a specific interface which isn''t defined by the puppetmaster''s hostname or fqdn. So, certname is set for puppetmaster and puppetd on the puppetmaster. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---