Browse files

Add common class.

  • Loading branch information...
1 parent 46987da commit 3587c3f49b139b1a7fee0ec49ba1b692e4bea331 Rutger Spiertz committed Aug 6, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 kbp_solr/manifests/init.pp
View
8 kbp_solr/manifests/init.pp
@@ -10,6 +10,7 @@
#
class kbp_solr ($tomcat_tag="tomcat_solr_${environment}"){
include gen_solr
+ include kbp_solr::common
class { "kbp_tomcat":
tomcat_tag => $tomcat_tag;
@@ -39,6 +40,13 @@
require => Package["tomcat6","solr-common"],
notify => Service["tomcat6"],
}
+}
+# Class: kbp_solr::common
+#
+# Actions:
+# Include ferm rules for monitoring
+#
+class kbp_solr::common {
Kbp_ferm::Rule <<| tag == "solr_monitoring" |>>
}

0 comments on commit 3587c3f

Please sign in to comment.