Permalink
Browse files

add files required by forge.puppetlabs.com

  • Loading branch information...
saz committed Nov 10, 2011
1 parent 7a4eab8 commit ce35c647055aa6075759083fd6ba95c2129e6d18
Showing with 58 additions and 0 deletions.
  1. +13 −0 LICENSE
  2. +8 −0 Modulefile
  3. +12 −0 metadata.json
  4. +6 −0 spec/spec.opts
  5. +18 −0 spec/spec_helper.rb
  6. +1 −0 tests/init.pp
View
13 LICENSE
@@ -0,0 +1,13 @@
+ Copyright 2011 Steffen Zieger
+
+ 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.
View
@@ -0,0 +1,8 @@
+name 'saz-php'
+version '1.0.0'
+source 'UNKNOWN'
+author 'saz'
+license 'Apache License, Version 2.0'
+summary 'UNKNOWN'
+description 'Manage cli, apache and fpm version of php via puppet'
+project_page 'https://github.com/saz/puppet-php'
View
@@ -0,0 +1,12 @@
+/*
++-----------------------------------------------------------------------+
+| |
+| ==> DO NOT EDIT THIS FILE! <== |
+| |
+| You should edit the `Modulefile` and run `puppet-module build` |
+| to generate the `metadata.json` file for your releases. |
+| |
++-----------------------------------------------------------------------+
+*/
+
+{}
View
@@ -0,0 +1,6 @@
+--format
+s
+--colour
+--loadby
+mtime
+--backtrace
View
@@ -0,0 +1,18 @@
+require 'pathname'
+dir = Pathname.new(__FILE__).parent
+$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib')
+
+require 'mocha'
+require 'puppet'
+gem 'rspec', '=1.2.9'
+require 'spec/autorun'
+
+Spec::Runner.configure do |config|
+ config.mock_with :mocha
+end
+
+# We need this because the RAL uses 'should' as a method. This
+# allows us the same behaviour but with a different method name.
+class Object
+ alias :must :should
+end
View
@@ -0,0 +1 @@
+include php

0 comments on commit ce35c64

Please sign in to comment.