Yes. puppet has those permissions.
I even tried doing

chown -R puppet:puppet /etc/puppet
and
chown -R puppet:puppet /usr/share/puppet




On Thu, Apr 10, 2014 at 5:30 PM, Spencer Krum <[email protected]>wrote:

> Does the puppet user have read/execute on all files/dirs under
> /etc/puppet?
>
> Is the config.ru file owned by the puppet user?
>
>
> On Thu, Apr 10, 2014 at 3:21 PM, John Pyeatt 
> <[email protected]>wrote:
>
>> I've followed all of the documentation at
>> http://docs.puppetlabs.com/guides/passenger.html to try to switch from
>> webrick to passenger/apache.
>>
>> I'm obviously doing something wrong however because I can't get passenger
>> to use /etc/puppet instead of /home/puppet/.puppet to store data.
>>
>> Any ideas would be appreciated. Below are some of the details.
>>
>> I'm running it on Ubuntu 12
>> I'm using Apache 2.2.22
>> I'm using puppet 3.4.0
>> I'm using passenger 4.0.41
>>
>> 1) I've created the directories /usr/share/puppet/rack/puppetmasterd with
>> ./public ./tmp directories
>>
>> 2) In that directory I've put in a config.ru that looks like this:
>> # a config.ru, for use with every rack-compatible webserver.
>> # SSL needs to be handled outside this, though.
>> # if puppet is not in your RUBYLIB:
>> # $:.unshift('/var/lib/puppet')
>> $0 = "master"
>> # if you want debugging:
>> # ARGV << "--debug"
>> ARGV << "--rack"
>>
>>
>> *ARGV << "--confdir" << "/etc/puppet"ARGV << "--vardir"  <<
>> "/var/lib/puppet"*require 'puppet/application/master'
>> # we're usually running inside a Rack::Builder.new {} block,
>> # therefore we need to call run *here*.
>> run Puppet::Application[:master].run
>>
>> 3) I've created the file /etc/apache2/sites-available/passenger with the
>> following snippet
>>     DocumentRoot */usr/share/puppet/rack/puppetmasterd/public*
>>
>>     <Directory */usr/share/puppet/rack/puppetmasterd/*>
>>       Options None
>>       AllowOverride None
>>       # Apply the right behavior depending on Apache version.
>>       Order allow,deny
>>       Allow from all
>>     </Directory>
>>
>> No matter what I've tried it still puts everything to
>> /home/puppet/.puppet directory instead of using /etc/puppet
>>
>>
>>
>>
>>
>> --
>> John Pyeatt
>> Singlewire Software, LLC
>> www.singlewire.com
>> ------------------
>> 608.661.1184
>> [email protected]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-users/CAEisTLk4w%2BJJN5GvgBz%3DNA8%2BTTcfQ49ZCD0AABdU2E-mCBhQNw%40mail.gmail.com<https://groups.google.com/d/msgid/puppet-users/CAEisTLk4w%2BJJN5GvgBz%3DNA8%2BTTcfQ49ZCD0AABdU2E-mCBhQNw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Spencer Krum
> (619)-980-7820
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CADt6FWPQb%2BoqwzzYBGyi1Yu1r%2B4s8oT7Y1TOn_8t_u7Xaix8ow%40mail.gmail.com<https://groups.google.com/d/msgid/puppet-users/CADt6FWPQb%2BoqwzzYBGyi1Yu1r%2B4s8oT7Y1TOn_8t_u7Xaix8ow%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
John Pyeatt
Singlewire Software, LLC
www.singlewire.com
------------------
608.661.1184
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAEisTL%3Dv%2BXo7R_Vovt5EGSPaNbRogvVK7WGeL%3DeP08Z1pyTx7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to