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

Commit

Permalink
Merge pull request #33 from boxen/53-versions
Browse files Browse the repository at this point in the history
Add PHP 5.3.28
  • Loading branch information
mattheath committed Mar 21, 2014
2 parents e71e385 + 699a1fc commit 01479cd
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manifests/5_3_28.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Installs php 5.3.28
#
# Usage:
#
# include php::5_3_28
#
class php::5_3_28 {
php::version { '5.3.28': }
}
10 changes: 10 additions & 0 deletions manifests/fpm/5_3_28.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Launches a PHP FPM service running PHP 5.3.28
# Installs PHP 5.3.28 if it doesn't already exist
#
# Usage:
#
# include php::fpm::5_3_28
#
class php::fpm::5_3_28 {
php::fpm { '5.3.28': }
}
9 changes: 9 additions & 0 deletions spec/classes/fpm/php_fpm_5_3_27_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'spec_helper'

describe "php::fpm::5_3_27" do
let(:facts) { default_test_facts }

it do
should contain_php__fpm("5.3.27")
end
end
9 changes: 9 additions & 0 deletions spec/classes/fpm/php_fpm_5_3_28_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'spec_helper'

describe "php::fpm::5_3_28" do
let(:facts) { default_test_facts }

it do
should contain_php__fpm("5.3.28")
end
end
9 changes: 9 additions & 0 deletions spec/classes/php_5_3_28_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'spec_helper'

describe "php::5_3_28" do
let(:facts) { default_test_facts }

it do
should contain_php__version("5.3.28")
end
end

0 comments on commit 01479cd

Please sign in to comment.