Commit Graph

16 Commits

Author SHA1 Message Date
Kienan Stewart c30e659ac3 Cleanup pass 2018-06-15 16:19:14 -04:00
Kienan Stewart f206817a27 Clean up documentation in readme 2018-06-15 16:17:40 -04:00
Kienan Stewart f1fc7573cb Change conditions on setting debconf preseeds for aegir
Apparently in Puppet, empty strings resolve to true. Liens were
being added to the preseed that caused installations to fail
(eg. empty aegir_root).
2017-03-26 00:31:29 -04:00
Kienan Stewart c5b5a619d7 Remove most uses of concat()
Concat returns a new rvalue instead of altering the existing array,
which I had mistakenly thought was it's behaviour. Using more variables
allows to join more elements together. This should fix nginx installations,
and resolve possible issues with the untested debconf options.
2017-03-26 00:10:50 -04:00
Kienan Stewart 48eabf9dee Pass nginx packages as extra arguments to aegir installation
Installing aegir tries to use non-fpm php packages even if the
fpm package is already installed. Try to circumvent this behaviour
by passing the extra packages directly to the apt-get command as
suggested in the documentation.

@see https://aegir.readthedocs.io/en/3.x/install/#6-optional-install-with-nginx
2017-03-25 22:59:41 -04:00
Kienan Stewart a31948c67b Fix syntax error in metadata.json 2017-03-25 21:48:39 -04:00
Kienan Stewart 55644f9e13 Change the aegir/drush_version preseed to use $package_name
All the other preseeds use $package_name. Change for consistency.
2017-03-25 21:35:07 -04:00
Kienan Stewart 1f228af34a Set debconf preseed for aegir/webserver for the aegirX package
With nginx installed before hand, the aegir3 package still tried to
install and use apache2.
2017-03-25 21:33:34 -04:00
Kienan Stewart 01f7cd5940 Add support for installing with nginx webserver
Install nginx and php5-fpm or php7.0-fpm before installing aegir packge.
2017-03-25 20:54:10 -04:00
Kienan Stewart 7e91d20732 Remove old _metadata.json file 2017-03-24 20:14:08 -04:00
Kienan Stewart f84238dbbe Move metadata.json back into place and update required keys
The metadata.json was incomplete before and had the name changed to
allow r10k/librarian to install the module from source anyway.
2017-03-24 20:11:19 -04:00
Kienan Stewart 942206a71a Update README.md with example and limitations 2017-03-24 20:10:59 -04:00
Kienan Stewart 4f3feb6b94 Replace array merges using '+' with concat() from stdlib
Puppet doesn't support variable reassignment, so using concat() from
the puppetlabs/stdlib seems to be easier than making up a series of
arbitrary variable names.
2017-03-24 18:32:22 -04:00
Kienan Stewart 0bd5a15637 Remove "+=" assignments from aegir::hostmaster
Puppet removed the "+=" and "-=" operators. Replaced with $a = $a +
$b, which requires Puppet 4.x. If compatibility with 3.x is desired,
the code needs to be changed to use an external function, like concat().
2017-03-24 18:22:57 -04:00
Kienan Stewart cde365501c added license 2016-11-30 16:35:41 -05:00
Kienan Stewart 24f1e677c4 Initial commit of aegir puppet module 2016-11-30 16:31:23 -05:00