Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit cedd6ad

Browse files
committed
Merge pull request #69 from sambauers/master
Fix php_require function, bump PHP secure versions.
2 parents 907a86f + 7a423c9 commit cedd6ad

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.0.1 ##
2+
3+
* Composer updated to 1.0.0-alpha10 (@alexmace)
4+
* Add pspell extension (@alexmace)
5+
* Fix bug in `php_require` and `php_fpm_require` functions (@sambauers)
6+
17
## 2.0.0 ##
28

39
* Use Hiera for configs

data/common.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ php::config::composer:
1313
php::config::phpenv:
1414
revision: '6499bb6c7b645af3f4e67f7e17708d5ee208453f'
1515
php::config::secure_versions:
16-
'5.6': '5.6.8'
17-
'5.5': '5.5.24'
18-
'5.4': '5.4.40'
16+
'5.6': '5.6.9'
17+
'5.5': '5.5.25'
18+
'5.4': '5.4.41'
1919
php::config::secure_warning: true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Puppet::Parser::Functions
22
newfunction(:php_fpm_require) do |args|
33
Puppet::Parser::Functions.function('ensure_resource')
4-
function_ensure_resource( [ 'php::fpm', args[0] ] )
4+
function_ensure_resource( [ 'php::fpm', args[0], {'ensure' => 'present'} ] )
55
end
66
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Puppet::Parser::Functions
22
newfunction(:php_require) do |args|
33
Puppet::Parser::Functions.function('ensure_resource')
4-
function_ensure_resource( [ 'php::version', args[0] ] )
4+
function_ensure_resource( [ 'php::version', args[0], {'ensure' => 'present'} ] )
55
end
66
end

spec/fixtures/hiera/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ php::config::composer:
1313
php::config::phpenv:
1414
revision: '6499bb6c7b645af3f4e67f7e17708d5ee208453f'
1515
php::config::secure_versions:
16-
'5.6': '5.6.7'
17-
'5.5': '5.5.23'
18-
'5.4': '5.4.39'
16+
'5.6': '5.6.9'
17+
'5.5': '5.5.25'
18+
'5.4': '5.4.41'
1919
php::config::secure_warning: true

0 commit comments

Comments
 (0)