Skip to content
Browse files

Properly test the jenkins module

  • Loading branch information...
1 parent 3a9d0b6 commit 2909ab5117337ddeccda60bd58d86c140eea1276 @rtyler rtyler committed Oct 23, 2011
Showing with 6 additions and 9 deletions.
  1. +1 −1 README.markdown
  2. +5 −1 modules/jenkins/tests/init.pp
  3. +0 −7 modules/jenkins/tests/jenkins.pp
View
2 README.markdown
@@ -9,7 +9,7 @@ This will clone any/all submodules to pull in some of the other dependencies
### Testing a manifest/class
- % puppet apply --noop modules/jenkins/tests/jenkins.pp # for example
+ % puppet apply --noop modules/jenkins/tests/init.pp # for example
### Testing the node definition
View
6 modules/jenkins/tests/init.pp
@@ -1 +1,5 @@
-include jenkins
+
+class {
+ "jenkins" :
+ require => Class["jboss::java"],
+}
View
7 modules/jenkins/tests/jenkins.pp
@@ -1,7 +0,0 @@
-include jenkins
-
-class {
- "jenkins" :
- require => Class["jenkins"],
-}
-

0 comments on commit 2909ab5

Please sign in to comment.
Something went wrong with that request. Please try again.