Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

alphagov/puppet-backdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppet module for installing and configuring the backdrop application.

It does:

  • Create required directories in /etc/gds, /opt and /var/log
  • Create an nginx vhost
  • Create a python virtual environment
  • Create a gunicorn configuration
  • Create an upstart job

It does not: (and therefore must be done manually for the moment)

  • Copy the application code into /opt/{app name}
  • Copy correct configuration files into place /opt/{app name}/backdrop/{module name}/config/{environment}.py
  • Install requirements.txt into virtualenv
  • Update /etc/hosts with read.backdrop and write.backdrop hosts names

The manual steps can be made a lot simpler if the backdrop app is packable and it's configuration is managed outside of the app.

Usage

backdrop::app

backdrop::app { 'read.backdrop':
	port       => 3038,
	workers    => 4,
	app_module => 'backdrop.read.api:app',
}

About

Puppet module for alphagov/backdrop

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published