Commit Graph

10 Commits

Author SHA1 Message Date
Dan Bode
2c11a91c8e fix issues with travis unit test config 2013-03-04 10:32:42 -08:00
Dan Bode
729127095d Add travis support 2013-03-03 12:09:04 -08:00
Dan Bode
63c405d1a9 update code to support more simultaneous versions
This commit is intended to resolve some of the issues
related with create_resources support for
multiple Puppet versions.

Basically, create_resources often needs to be an
external dependency if it's used in modules, so that
those modules can work with 2.6.x.

In this case, it needs to be added to the fixtures.yaml
file. Since there is no way to specify that
certain dependant modules should only be added for
certain versions of Puppet, then create_resources will
even override the native one for versions >= 2.7.0
in all unit tests.

For this reason, the module needs to be able to
simultaneously support the targeted versions:
2.6.x ,2.7.x, 3.0.x, and 3.1.x.

This commit does the following:
   - back ports all 2.7.x changes to create_resources
(so that it will work with 3.0)
   - modifies tests, unit tests so they pass with
     all targeted versions.
   - update Rakefile and spec_helper to use
     puppetlabs_spec_helper

of coarse, there is a bigger question of if I should
even be doing this, it has several pitfalls:
  - modules will be tested with an external create_resoures
    which may not be in sync with the one in core
  - I would recommend that modules not pull in
    create_resources as a dep in their module file,
    which means
       1. it becomes an extra step for 2.6.x
       2. module's are not tested and used consistenly
2013-03-03 12:08:57 -08:00
Dan Bode
28584b0ed1 Merge pull request #3 from bodepd/issue/master/update_to_correct_version
Update to the latest version.
2011-06-24 09:03:18 -07:00
Dan Bode
5ad0dd0882 updated to the latest version.
Updating this modules to the same version that
was merged into 2.7 for consistency.
2011-06-21 18:19:11 -07:00
Jeff McCune
ef2b103ffb Merge pull request #2 from jeffmccune/ticket/master/1_forge_compatibility
Ticket/master/1 forge compatibility
2011-06-21 16:10:18 -07:00
Jeff McCune
72304ae17b Change License to Apache Version 2.0 v0.0.1 2011-06-21 16:08:31 -07:00
Jeff McCune
a872279ac5 (#1) Add Modulefile for forge compatibility
closes #1

Add Module metadata and links to the new module project page and git
repository.  Dan will update the Forge page.
2011-06-21 16:06:33 -07:00
Dan Bode
d1be420d79 removes test manifests, moved test class/define to tests/users.pp 2011-02-24 20:42:50 -06:00
Dan Bode
9a4fef865f first commit of create_resources module.
it was called accepts.

I added the ability to specify classes or definitions.
2011-02-24 20:38:33 -06:00