Commit Graph

17 Commits

Author SHA1 Message Date
sticky-note
aca894188e fix(composer): stop hanging by preventing interaction 2022-08-27 10:51:26 +11:00
Alexander Weidinger
d727b15557
feat(composer): make dependencies configurable 2021-03-31 09:17:30 +01:00
Imran Iqbal
4e48a7adbb
fix(composer.sls): fix salt-lint errors
```bash
Examining php/composer.sls of type state
[210] Numbers that start with `0` should always be encapsulated in quotation marks
php/composer.sls:27
    - mode: 0755
```
2019-10-09 16:07:49 +01:00
sticky-note
f1b71d00ae feat(ng): promote NG formula
BREAKING CHANGES: users must adapt their pillar. See `docs.REAME.rst`
2019-08-20 13:01:49 +11:00
nb
d03338176c fix: warn formula users ng states will be promoted in v1.0.0 2019-07-24 15:15:33 +11:00
Alexander Weidinger
4cffd9c9e1 composer update: date works differently on FreeBSD 2018-03-15 22:23:39 +01:00
Alexander Weidinger
fcb3d85f34 composer update: fixed unless cmd by using -gt instead of >
(Command was not working on Ubuntu 16.04.)
Both Ubuntu's and RedHat's man pages of test list -gt, but not >
as their 'greater than' operator.
2018-03-15 22:23:39 +01:00
Mario Fritschen
ffa1796722 Changed method to detect if composer self-update is needed. 2018-01-02 22:02:17 +01:00
sc250024
1e3e3032f3 New structure for new Ubuntu PPA and other fixes (#113)
* Initial commit for new branch

* Quick change to base test files

* Updated map.jinja, added `php` dependency for all subformulas

* Fixing mongo module and map.jinja needed OpenSSL dev libraries

* Should be final changes needed for Mongo module

* Updating Suhosin package since many distros don't have package in their
repos anymore

* Generalizing suhosin module, and updating pillar.example for new PPA

* Adding addtional logic for RedHat based families to Suhosin

* Initial commit of NG refactored map.jinja file

* Deleting FFMpeg state file since the module is quite old, and has been
replaced by using a Composer library. See
https://github.com/PHP-FFMpeg/PHP-FFMpeg for details

* Updating NG formulas for new definitions

* Removing 'twig' as a state since it can be installed via Composer

* Changes to installed.jinja to set correct PHP path based on version

* NG Composer and NG Suhosin changes

* Version bump and deleting README for deleted states

* Finished refactor of NG map.jinja file

* Adding trailing commas (forgot them earler)

* Adding changes list, and modifying map file for missing definitions when
using Ubuntu 16.04 and NOT using a PPA

* Changes needed after performing testing on RHEL 7

* Changes needed for Ubuntu Trusty without using PPA

* Removing testing files; keep on local

* Map changes needed after testing Debian Jessie

* Changed needed for Debian Wheezy

* Adding more pkgs for Arch Linux support

* More ArchLinux support

* Stupid tabs

* Removing extra line breaks, and using the general "use_external_repo" in
the future if DotDeb (Debian) or Webtactic (RedHat)

* Accoutning for Precise `phpenmod` and others
2016-12-13 13:37:53 -08:00
Wolodja Wentland
c780e165e5 Do not hardcode composer checksum
This allows composer installs to function even if the installer checksum
changes, and doesn't force us to update the formula whenever their
installer changes.

We can do this now as composer upstream provides the checksum on
https://composer.github.io/installer.sig since 2016-04-28.
2016-04-29 10:53:57 +02:00
Wolodja Wentland
e9b1c4ce07 Explicitly set HOME when running composer install.
Without this installation fails with:

  The HOME or COMPOSER_HOME environment variable must be set for
  composer to install correctly
2016-04-27 15:43:44 +02:00
Wolodja Wentland
70b995041d Run composer installer with PHP
The composer installer has to be executed with PHP itself as detailed on
https://getcomposer.org/download/.
2016-02-29 18:08:55 +01:00
Matt Kelch
2567557fac Fix edge case with install-composer which results in composer not being installed/reinstalled due to the state of get-composer not changing. 2015-09-28 13:45:56 -04:00
Hayden King
f3e4197fcb remove curl dependency in favor of saltstack file.managed and use the composer instlaller. 2015-07-19 18:00:44 -05:00
Ross Perkins
a652f89398 Removed 'install' dependency, using 'mv' instead. 2015-03-06 11:56:35 +01:00
Ross Perkins
657a4bf4c2 Fixed render error 2015-02-21 12:43:51 +01:00
Ross Perkins
2780ad7e77 Added Composer support 2015-02-20 11:12:19 +01:00