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

Nginx support instead of Apache #7

Open
dvandendaele opened this issue Oct 17, 2014 · 3 comments
Open

Nginx support instead of Apache #7

dvandendaele opened this issue Oct 17, 2014 · 3 comments

Comments

@dvandendaele
Copy link

Hello ,

I would like to use Nginx instead of Apache in the manifest file of your module. Could you make this change ?

@alvagante
Copy link
Contributor

A general suggestion to manage this (as any other resources that is not directly related to the software installation): expose a parameter that let the user override the class where these extra resources (webserver to use, repos to manage or whatever is provided by third modules).
In this case it could be something like:
$webserver_class = 'puppetexplorer::apache' # The module's default
then either provide a puppetexplorer::nginx class to be used as alternative or leave the choice to the module's users.
Same thing might be used to manage repos, instead of the booleans manage_yum and manage_apt:
$repo_class = 'puppetexplorer::repo'

my2c

@mkrakowitzer
Copy link

+1

@roidelapluie
Copy link
Contributor

That issue can be closed:

# [*webserver_class*]
#   Name of the class where the webserver is configured
#   Default: '::puppetexplorer::apache'

9c6bf26

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

No branches or pull requests

4 participants