Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmandel/puppet-direct-project
Puppet installer for Direct Project Java Reference Implementation
https://github.com/jmandel/puppet-direct-project
Last synced: 19 days ago
JSON representation
Puppet installer for Direct Project Java Reference Implementation
- Host: GitHub
- URL: https://github.com/jmandel/puppet-direct-project
- Owner: jmandel
- Created: 2013-02-19T03:53:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-02T02:10:54.000Z (over 11 years ago)
- Last Synced: 2024-10-06T15:42:17.942Z (about 1 month ago)
- Language: Puppet
- Size: 418 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This project has migrated to: https://github.com/jmandel/ansible-ccda
You should use the new repository, not this one.# Old documentation
---## Puppet installer for Direct J-RI
Java Reference Implementation for Direct Project## From 0 to Direct Java-RI
These scripts install the Direct [Java Reference Implementation]
(http://wiki.directproject.org/Reference+Implementation+Workgroup)
RC 2.1 on a fresh Ubuntu 12.10 machine.### Configurable through a [single JSON file](hieradata/common.json)
* Certificate Generation
* Default e-mail account names + passwords
* DNS hostname for MX and A records
* Trust Bundles to install### Total system configuration
* Firewall allows access only to mail servers + ssh
* James mail server configured for secure POP3 + SMTP
* upstart services launch on boot### Unattended install in the cloud
Just provision an Ubuntu 12.10 stock VM. Then
*Install Puppet 3.x:*
```
#!/bin/bash
# upgrade all packages
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y upgrade# install PuppetLabs repo
wget http://apt.puppetlabs.com/puppetlabs-release-quantal.deb
dpkg -i puppetlabs-release-quantal.deb
apt-get update# Install puppet
apt-get -y install puppet-common git# Clean up
export DEBIAN_FRONTEND=dialog
```*Apply the site manifest to load Direct J-RI:*
```
$ git clone https://github.com/jmandel/puppet-direct-project.git /etc/puppet
# (edit /etc/puppet/hieradata/common.json with your settings)
$ puppet apply /etc/puppet/manifests/site.pp -d
```---
### TODO for automated config:1. [x] Within config-service, create new domain w/ postmaster, ENABLED status
2. [x] Create a set of mail users in common.json
3. [x] ...and ensure each one is auto-created via telnet/expect
4. [x] Generate site certificate
5. [x] Generate domain certificate
6. [x] Within config-service, add the domain certificate.
7. [x] Within config-service, create MX entry for MX
7. [x] Within config-service, create A entry for direct_host
8. [x] Within config-service, add authorized trust bundles to installation
9. [x] Within config-service, add authorized trust bundles to domain* Run `config-service` tomcat as unprivileged user