puppetmaster-passenger default vhost has wrong documentroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet (Ubuntu) |
Fix Released
|
High
|
Marc Cluet | ||
Precise |
Fix Released
|
High
|
Marc Cluet |
Bug Description
After a clean install of puppetmaster-
1: SSL certificates for puppetmaster on ubuntu are not in /etc/puppet/ssl but in /var/lib/puppet/ssl
2: Rack application for puppetmaster on ubuntu is not in /etc/puppet but in /usr share/puppet
This config which works for me (PLEASE NOTE: $FQDN should be actual fqdn of the server)
# you probably want to tune these settings
PassengerHighPe
PassengerMaxPoo
PassengerPoolId
# PassengerMaxReq
PassengerStatTh
RackAutoDetect Off
RailsAutoDetect Off
Listen 8140
<VirtualHost *:8140>
SSLEngine on
SSLProtocol -ALL +SSLv3 +TLSv1
# If Apache complains about invalid signatures on the CRL, you can try disabling
# CRL checking by commenting the next line, but this is not recommended.
SSLOptions +StdEnvVars
RackBaseURI /
<Directory /usr/share/
</VirtualHost>
Related branches
- James Page: Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 4139 lines (+3430/-399)29 files modified.pc/.quilt_patches (+1/-0)
.pc/.quilt_series (+1/-0)
.pc/applied-patches (+1/-0)
.pc/puppet-12844/lib/puppet/agent.rb (+114/-0)
.pc/puppet-12844/lib/puppet/agent/locker.rb (+30/-0)
.pc/puppet-12844/lib/puppet/application/agent.rb (+508/-0)
.pc/puppet-12844/lib/puppet/util/anonymous_filelock.rb (+36/-0)
.pc/puppet-12844/lib/puppet/util/pidlock.rb (+68/-0)
.pc/puppet-12844/spec/unit/agent/locker_spec.rb (+87/-0)
.pc/puppet-12844/spec/unit/agent_spec.rb (+285/-0)
.pc/puppet-12844/spec/unit/application/agent_spec.rb (+631/-0)
.pc/puppet-12844/spec/unit/util/anonymous_filelock_spec.rb (+78/-0)
.pc/puppet-12844/spec/unit/util/pidlock_spec.rb (+208/-0)
debian/changelog (+13/-0)
debian/patches/puppet-12844 (+979/-0)
debian/patches/series (+1/-0)
debian/puppetmaster-passenger.postinst (+7/-0)
lib/puppet/agent.rb (+2/-4)
lib/puppet/agent/locker.rb (+15/-1)
lib/puppet/application/agent.rb (+3/-11)
lib/puppet/util/anonymous_filelock.rb (+0/-36)
lib/puppet/util/pidlock.rb (+71/-22)
spec/unit/agent/locker_spec.rb (+12/-0)
spec/unit/agent_backward_compatibility_spec.rb (+152/-0)
spec/unit/agent_spec.rb (+0/-6)
spec/unit/application/agent_spec.rb (+1/-33)
spec/unit/util/anonymous_filelock_spec.rb (+0/-78)
spec/unit/util/pidlock_spec.rb (+0/-208)
test/util/pidlock.rb (+126/-0)
Changed in puppet (Ubuntu): | |
importance: | Undecided → High |
Changed in puppet (Ubuntu): | |
status: | New → Confirmed |
Changed in puppet (Ubuntu Precise): | |
assignee: | nobody → Marc Cluet (lynxman) |
Additional confirmation notes:
1: SSL certificates for puppetmaster on ubuntu are not in /etc/puppet/ssl but in /var/lib/puppet/ssl
The SSL certificates on my clean install where pointing at the correct locations in /var/lib/puppet/ssl
2: Rack application for puppetmaster on ubuntu is not in /etc/puppet but in /usr share/puppet
Confirmed - default document root was /etc/puppet/rack not /usr/share/ puppet/ rack