Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple nginx puppet module
Puppet
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
manifests
README.rst

README.rst

Nginx configuration for puppet

This simple module installs nginx and provides a defined type for installing virtualhost files. It is very basic - there are problably better nginx modules for you if your requirements are more than putting a virtualhost file in place.

Install

Install into your puppet modules path using:

git clone git://github.com/codeinthehole/puppet-nginx.git nginx

then add:

include nginx

to the appropriate node manifest file. You can put virtualhost files in place using the syntax:

nginx::vhost { "vagrant.nginx.file":
    filename => "vagrant.conf",
    source => "/vagrant/www/deploy/nginx/vagrant.conf"
}
Something went wrong with that request. Please try again.