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

Pass DOCROOT environment variable into puppet instead of hardcoding it. [$10 awarded] #55

Closed
kenorb opened this issue Sep 19, 2014 · 0 comments

Comments

@kenorb
Copy link
Member

kenorb commented Sep 19, 2014

Currently we're using static path for docroot, we need to find a way to pass SRCDIR environment variable into puppet.

File: puppet/ads.dev.configure-site.pp

Line:

path           => '/var/www/ads',

You can define/pass the global variable in .travis.yml (e.g.: DOCROOT="/var/www/ads"), if global variable is not set, default value should be /var/www

@kenorb kenorb added this to the alpha4 milestone Sep 19, 2014
@kenorb kenorb changed the title Pass SRCDIR environment variable into puppet instead of hardcoding the webroot. Pass DOCROOT environment variable into puppet instead of hardcoding it. Sep 23, 2015
@kenorb kenorb added the bounty label Sep 23, 2015
@kenorb kenorb changed the title Pass DOCROOT environment variable into puppet instead of hardcoding it. Pass DOCROOT environment variable into puppet instead of hardcoding it. [$10] Sep 25, 2015
@craigwatson craigwatson mentioned this issue Mar 21, 2016
kenorb added a commit that referenced this issue Mar 21, 2016
@kenorb kenorb closed this as completed Mar 21, 2016
@kenorb kenorb changed the title Pass DOCROOT environment variable into puppet instead of hardcoding it. [$10] Pass DOCROOT environment variable into puppet instead of hardcoding it. [$10 awarded] Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant