Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use puppetlabs/apache 0.9.x #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Use puppetlabs/apache 0.9.x #10

wants to merge 2 commits into from

Conversation

doismellburning
Copy link
Contributor

No description provided.

@garethr
Copy link
Owner

garethr commented Nov 23, 2013

The test suite currently fails for this branch - https://travis-ci.org/garethr/garethr-graphite/builds/14325279

It looks like it's just a matter of missing environment variables that are used by the new apache module.

Happy to merge this if you could fix the failing tests. Thanks!

<Location "/">
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, OPTIONS"
Header set Access-Control-Allow-Headers "origin, authorization, accept"
SetHandler python-program
PythonPath "['<%= docroot %>'] + sys.path"
PythonPath "['<%= @docroot %>'] + sys.path"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell this will not work right. There is a non-trivial chance the @docroot will be undefined at the time this template gets evaluated. Probably because the vhost template itself evaluates the custom fragment template (templates within templates). See this issue for discussion: puppetlabs/puppetlabs-apache#450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants