Releases: tPl0ch/puppet-composer
GitHub token and fix Suhosin on Ubuntu
Fix for boolean logoutput
The logoutput
param for exec
and other classes was being evaluated as a boolean. It actually allows on_failure
as an option so it should be a string.
Self updating, Hiera support, and more!
Release 1.3.0
adds a number of features and bug fixes. There has been some refactoring happening. Please take a peek at the Features and Bugs to make sure you understand all the changes,
Features
- New
composer::selfupdate
defined type to update, keep specific version, or rollback Composer versions - Added
timeout
parameter tocomposer::exec
- Vagrant as a functional test environment
- Various bugs and spec fixes (see below)
- Require command support (thanks @enxebre)
- Support creating projects from hiera (thanks @enxebre)
dev
dependencies are now enabled by default
Bugs
- Added selfupdate type and auto_update param
- Fixed param case statement for prefer*source param
- Added metadata.json to .gitignore
- Added 'stdlib' dependency to fixtures
- requiring dep modules from global namespace
- Updated exec.erb template
- Added user to exec for selfupdate
- Fixed versions in travis.yml
- Removed 3.0.x support until rodjek/rspec-puppet#136 is fixed
- Removed ruby version constraint for testing
- Pin RSpec version to
2.99.0
until rodjek/rspec-puppet#201 is merged
Support for Amazon Linux has been added
The operatingsystem Amazon
is now supported and uses the same settings as the RedHat
family.
Support of custom php binaries
It's now possible to pass a new parameter php_bin
, which will call the composer.phar
with a custom call to the php binary. I.e. php -d "apc.enable_cli=0"
for better control.
Refreshonly and user parameters
This release adds two new parameters to composer::exec
:
user
- Set the user to run asrefreshonly
- Only run on notify (see http://docs.puppetlabs.com/references/latest/type.html#exec-attribute-refreshonly).
Variable fixes and suhosin param
The major changes in this release:
- The addition of a
suhosin_enable
param (left enabled by default) which enable or disable the management of the suhosin configuration by Augeas. - Fix deprecated variables in the exec ERB template.
- Documentation updates for clarification and formatting.
Environment home and spec tests
This release adds the COMPOSER_HOME
environment variable to composer
commands to support Puppet 3.0 and the first of our spec tests using rspec-puppet
.