File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,3 +223,31 @@ uwsgi::app:
223223 module: 'mysite.wsgi:application'
224224 socket: '/tmp/uwsgi_django2.sock'
225225` ` `
226+
227+ Example using hiera to use Debian Jessie APT packages & default file locations
228+
229+ ` ` ` yaml
230+ ---
231+ classes:
232+ - uwsgi
233+ uwsgi::package_name:
234+ - 'uwsgi-emperor'
235+ - 'uwsgi-plugins-all'
236+ uwsgi::package_provider: 'apt'
237+ uwsgi::service_name: 'uwsgi-emperor'
238+ uwsgi::service_provider: 'debian'
239+ uwsgi::manage_service_file: false
240+ uwsgi::config_file: '/etc/uwsgi-emperor/emperor.ini'
241+ uwsgi::log_dir: '/var/log/uwsgi/emperor.log'
242+ uwsgi::app_directory: '/etc/uwsgi-emperor/vassals'
243+ uwsgi::install_pip: false
244+ uwsgi::install_python_dev: false
245+ uwsgi::socket: undef
246+ uwsgi::pidfile: '/run/uwsgi-emperor.pid'
247+ uwsgi::emperor_options:
248+ uid: 'www-data'
249+ gid: 'www-data'
250+ workers: '2'
251+ no-orphans: 'true'
252+ ` ` `
253+
You can’t perform that action at this time.
0 commit comments