All, I''m trying to set puppet 2.7.1 up in a HA configuration by following the steps in the new ''Pro Puppet'' book. I got puppet working with passenger initially, and confirmed that was working. The fact I can''t really point to the book as a reference here makes it a bit hard to describe what I am doing, but one of the steps in the book that is a bit unclear is: "In addition to the configuration file, you need to duplicates the Rack configuration directory into the new DocumentRoot location (see Listing 4-10). Listing 4-10. Create the first Puppet master worker rack configuration # rsync -avxH /etc/puppet/rack/puppetmaster{,_18140}/ building file list ... done created directory /etc/puppet/rack/puppetmaster_18140 ./ config.ru public/ tmp/ " It doesn''t say where to run the rsync (ie copy) from. I ran it from /usr/share/puppet/rack/puppetmasterd/config.ru, and therefore, /etc/puppet/rack/puppetmaster_18140 ended up with: [root@hpmas01 httpd]# ls -l /etc/puppet/rack/puppetmaster_18140/public total 12 -rw-r--r-- 1 puppet puppet 431 Jul 30 14:27 config.ru drwxr-xr-x 2 root root 4096 Jul 30 14:27 public drwxr-xr-x 2 root root 4096 Jul 30 14:27 tmp My client, connecting to this server, is reporting: err: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden request: hxmgt01.h.xxx.com(10.5.100.106) access to /catalog/ sv4xen04.h.xxx.com [find] at line 98 warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run err: Could not send report: Error 403 on SERVER: Forbidden request: hxmgt01.h.xxx.com(10.5.100.106) access to /report/sv4xen04.h.xxx.com [save] at line 98 Ideas? Doug. -- 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.
On Sat, Jul 30, 2011 at 2:53 PM, Douglas Garstang <doug.garstang@gmail.com>wrote:> All, > > I''m trying to set puppet 2.7.1 up in a HA configuration by following the > steps in the new ''Pro Puppet'' book. I got puppet working with passenger > initially, and confirmed that was working. > > The fact I can''t really point to the book as a reference here makes it a > bit hard to describe what I am doing, but one of the steps in the book that > is a bit unclear is: > > "In addition to the configuration file, you need to duplicates the Rack > configuration directory into the new DocumentRoot location (see Listing > 4-10). > > Listing 4-10. Create the first Puppet master worker rack configuration > > # rsync -avxH /etc/puppet/rack/puppetmaster{,_18140}/ > > building file list ... done > > created directory /etc/puppet/rack/puppetmaster_18140 ./ > > config.ru > > public/ > > tmp/ > > " > > > It doesn''t say where to run the rsync (ie copy) from. I ran it > from /usr/share/puppet/rack/puppetmasterd/config.ru, and therefore, /etc/puppet/rack/puppetmaster_18140 > ended up with: >The command expands to provide a source and a destination. ~ nbk $ echo /etc/puppet/rack/puppetmaster{,_18140}/ /etc/puppet/rack/puppetmaster/ /etc/puppet/rack/puppetmaster_18140/ It shouldn''t matter what working directory you''re using as it expands to absolute paths for source and destination. I''d repeat the command as provided in the book as it looks like you''ve got some problems with paths like: /etc/puppet/rack/puppetmaster_18140/public/public> [root@hpmas01 httpd]# ls -l /etc/puppet/rack/puppetmaster_18140/public > > total 12 > > -rw-r--r-- 1 puppet puppet 431 Jul 30 14:27 config.ru > > drwxr-xr-x 2 root root 4096 Jul 30 14:27 public > > drwxr-xr-x 2 root root 4096 Jul 30 14:27 tmp > > My client, connecting to this server, is reporting: > > err: Could not retrieve catalog from remote server: Error 403 on SERVER: > Forbidden request: hxmgt01.h.xxx.com(10.5.100.106) access to /catalog/ > sv4xen04.h.xxx.com [find] at line 98 > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > err: Could not send report: Error 403 on SERVER: Forbidden request: > hxmgt01.h.xxx.com(10.5.100.106) access to /report/sv4xen04.h.xxx.com[save] at line 98 > > Ideas? > > Doug. > > > -- > 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. >-- Nigel Kersten Product Manager, Puppet Labs *Join us for **PuppetConf * <http://www.bit.ly/puppetconfsig> Sept 22/23 Portland, Oregon, USA. * * -- 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.
On Sat, Jul 30, 2011 at 3:01 PM, Nigel Kersten <nigel@puppetlabs.com> wrote:> > > On Sat, Jul 30, 2011 at 2:53 PM, Douglas Garstang <doug.garstang@gmail.com > > wrote: > >> All, >> >> I''m trying to set puppet 2.7.1 up in a HA configuration by following the >> steps in the new ''Pro Puppet'' book. I got puppet working with passenger >> initially, and confirmed that was working. >> >> The fact I can''t really point to the book as a reference here makes it a >> bit hard to describe what I am doing, but one of the steps in the book that >> is a bit unclear is: >> >> "In addition to the configuration file, you need to duplicates the Rack >> configuration directory into the new DocumentRoot location (see Listing >> 4-10). >> >> Listing 4-10. Create the first Puppet master worker rack configuration >> >> # rsync -avxH /etc/puppet/rack/puppetmaster{,_18140}/ >> >> building file list ... done >> >> created directory /etc/puppet/rack/puppetmaster_18140 ./ >> >> config.ru >> >> public/ >> >> tmp/ >> >> " >> >> >> It doesn''t say where to run the rsync (ie copy) from. I ran it >> from /usr/share/puppet/rack/puppetmasterd/config.ru, and therefore, /etc/puppet/rack/puppetmaster_18140 >> ended up with: >> > > The command expands to provide a source and a destination. > > ~ nbk $ echo /etc/puppet/rack/puppetmaster{,_18140}/ > > /etc/puppet/rack/puppetmaster/ /etc/puppet/rack/puppetmaster_18140/ > > > It shouldn''t matter what working directory you''re using as it expands to > absolute paths for source and destination. > > I''d repeat the command as provided in the book as it looks like you''ve got > some problems with paths like: > > /etc/puppet/rack/puppetmaster_18140/public/public > >I second what Nigel said, along with the information that the following error may be caused by Apache not setting the SSL verification environment variable correctly, or you''re using an invalid certificate. "err: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden request: hxmgt01.h.xxx.com(10.5.100. 106) access to /catalog/sv4xen04.h.xxx.com [find] at line 98" -- Jeff McCune @0xEFF Join us for PuppetConf <http://links.puppetlabs.com/puppetconf>, Sept 22-23 in Portland, OR -- 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.
:( On Sun, Jul 31, 2011 at 8:32 PM, Jeff McCune <jeff@puppetlabs.com> wrote:> On Sat, Jul 30, 2011 at 3:01 PM, Nigel Kersten <nigel@puppetlabs.com>wrote: > >> >> >> On Sat, Jul 30, 2011 at 2:53 PM, Douglas Garstang < >> doug.garstang@gmail.com> wrote: >> >>> All, >>> >>> I''m trying to set puppet 2.7.1 up in a HA configuration by following the >>> steps in the new ''Pro Puppet'' book. I got puppet working with passenger >>> initially, and confirmed that was working. >>> >>> The fact I can''t really point to the book as a reference here makes it a >>> bit hard to describe what I am doing, but one of the steps in the book that >>> is a bit unclear is: >>> >>> "In addition to the configuration file, you need to duplicates the Rack >>> configuration directory into the new DocumentRoot location (see Listing >>> 4-10). >>> >>> Listing 4-10. Create the first Puppet master worker rack configuration >>> >>> # rsync -avxH /etc/puppet/rack/puppetmaster{,_18140}/ >>> >>> building file list ... done >>> >>> created directory /etc/puppet/rack/puppetmaster_18140 ./ >>> >>> config.ru >>> >>> public/ >>> >>> tmp/ >>> >>> " >>> >>> >>> It doesn''t say where to run the rsync (ie copy) from. I ran it >>> from /usr/share/puppet/rack/puppetmasterd/config.ru, and therefore, /etc/puppet/rack/puppetmaster_18140 >>> ended up with: >>> >> >> The command expands to provide a source and a destination. >> >> ~ nbk $ echo /etc/puppet/rack/puppetmaster{,_18140}/ >> >> /etc/puppet/rack/puppetmaster/ /etc/puppet/rack/puppetmaster_18140/ >> >> >> It shouldn''t matter what working directory you''re using as it expands to >> absolute paths for source and destination. >> >> I''d repeat the command as provided in the book as it looks like you''ve got >> some problems with paths like: >> >> /etc/puppet/rack/puppetmaster_18140/public/public >> >> > I second what Nigel said, along with the information that the following > error may be caused by Apache not setting the SSL verification environment > variable correctly, or you''re using an invalid certificate. > > > "err: Could not retrieve catalog from remote server: Error 403 on SERVER: > Forbidden request: hxmgt01.h.xxx.com(10.5.100. > 106) access to /catalog/sv4xen04.h.xxx.com [find] at line 98" > > -- > Jeff McCune > @0xEFF > Join us for PuppetConf <http://links.puppetlabs.com/puppetconf>, Sept > 22-23 in Portland, OR > > -- > 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. >-- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garstang@gmail.com Cell: +1-805-340-5627 -- 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.