Skip to content

Commit 8a17087

Browse files
committed
Additional example in README
1 parent 3247558 commit 8a17087

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff 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+

0 commit comments

Comments
 (0)