Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Puppet module for multiple instances of EZproxy on Ubuntu
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
files
manifests
templates
LICENSE
README

README

Puppet module (>=v2.6) for EZproxy on Ubuntu
============================================

Intro
-----

- Runs as user `ezproxy`, creating it if necessary
- Includes startup script `/etc/init.d/ezproxy`
- Includes enable/disable scripts
  - `/usr/local/sbin/ezpensite`
  - `/usr/local/sbin/ezpdissite`

Creates tree in /var/www/ezproxy:
```
/var/www/ezproxy/
├── bin
│   └── ezproxy
├── configs
│   ├── access_medicine.config.txt
│   ├── acm.config.txt
│   └── [etc.]
├── docs
│   ├── cookie.htm
│   ├── https.htm
│   └── [etc.]
├── sites-available
│   ├── 01-lij
│   │   ├── config.txt
│   │   ├── docs -> /var/www/ezproxy/docs
│   │   ├── ezproxy.key -> /var/www/ezproxy/ezproxy.key
│   │   └── user.txt
│   └── 02-tun
│       ├── config.txt
│       ├── docs -> /var/www/ezproxy/docs
│       ├── ezproxy.key -> /var/www/ezproxy/ezproxy.key
│       └── user.txt
└── sites-enabled
    └── 01-lij -> /var/www/ezproxy/sites-available/01-lij
```

Setup
-----

- Add your license key as `files/ezproxy.key`
- Add new database config snippets as `files/configs/foo.config.txt`, and reference in the instance specifications as `foo` (see below). Sample manifest:

```
include ezproxy

ezproxy::instance { '01-lij':
  ip => '192.168.65.220',
  host => 'lb-proxy1.touro.edu',
  maxvhosts => 200,
  databases => [
    proquest,
    ebsco,
  ],
}

ezproxy::instance { '02-tun':
  ip => '192.168.65.221',
  host => 'lb-proxy2.touro.edu',
  maxvhosts => 1100,
  databases => [
    ebrary,
  ],
}
```

Something went wrong with that request. Please try again.