Skip to content

Commit

Permalink
Moved version into attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Connolly committed May 14, 2012
1 parent d1a41e1 commit 65bbe85
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Author:: Mark Sonnabaum <[email protected]>
# Contributor:: Patrick Connolly <[email protected]>
#
# Cookbook Name:: phpunit
# Attrbitutes:: default
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

default['phpunit']['version'] = "3.6.7"
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@

php_pear "PHPUnit" do
channel "phpunit"
version "3.6.7"
version node['phpunit']['version']
action :install
end

0 comments on commit 65bbe85

Please sign in to comment.