puppet-aegir/README.md

83 lines
2.3 KiB
Markdown
Raw Normal View History

2016-11-30 21:31:23 +00:00
# aegir
## Module Description
This module is intended to install aegir simply.
2016-11-30 21:35:41 +00:00
## License
Copyright (C) 2017 Kienan Stewart
2016-11-30 21:35:41 +00:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
2016-11-30 21:31:23 +00:00
## Requirements
Modules from forge.puppet.com:
* puppetlabs-stdlib (tested with 4.15.0)
2016-11-30 21:31:23 +00:00
* puppetlabs-apt (tested with 2.3.0)
Operating systems: Debian derivatives.
Puppet: 4.x
2016-11-30 21:31:23 +00:00
## Setup
Nothing special.
## Limitations
* Depends on the the aegir${version} package to correctly install dependencies
## Example Usage
### Install a hostmaster
2016-11-30 21:31:23 +00:00
```puppet
# Assumes mysql or mariadb is installed
# and that there is a user aegir_root
# with all grants etc permissions on *.*
class { '::aegir::hostmaster': {
database => {
host => 'localhost',
user => 'aegir_root',
password => 'examplepassword'
}
}
```
2016-11-30 21:31:23 +00:00
## Reference
### Classes
#### Public Classes
* aegir::hostmaster
### Class: aegir::hostmaster
Debian package based hostmaster installation.
Parameters:
* database: A hash containing user, host, and password. Required.
* frontend_url: The url for the hostmaster drupal installation. Optional, defaults to the fully qualified domain name.
* version: The major aegir version to install. Optional, default: 3
* server: Which webserver to use. Optional, default: apache. Supports: apache2, nginx
* release: Which release to use from the package source. Optional, default: stable.
* makefile: If a custom makefile should be used, specify it here. Optional, default: ''
* email: The email to set for the admin user in the hostmaster installation. Optional, default: '' (aegir will pick the user@fqdn).
* working_copy: Keep the hostmaster platform git directories? Optional, default: false.
* drush_version: Which version of drush to install with provision. Optional, default '' (stable).