Permalink
Browse files

[cm] Adds cluster initialize which would initialize a new cluster obj…

…ect in scm
  • Loading branch information...
1 parent d61f03a commit 2997ea34abd12bd339f11d79c18d7bd15c8ea448 @ashrithr ashrithr committed Mar 19, 2014
Showing with 5 additions and 7 deletions.
  1. +5 −0 cm/manifests/cluster_init.pp
  2. +0 −7 cm/manifests/server_init.pp
@@ -0,0 +1,5 @@
+class cm::cluster_init inherits cm::params {
+ cm::api::cluster { $cm::params::cm_cluster_name:
+ cluster_version => $cm::params::cm_cluster_ver
+ }
+}
@@ -1,7 +0,0 @@
-class cm::server_init inherits cm::api::params {
- # Create cluster entity
- cm::api::cluster { 'test_cluster':
- cluster_version => 'CDH4',
- api_version => $::cm::api::params::api_version
- }
-}

0 comments on commit 2997ea3

Please sign in to comment.