Skip to content

Commit

Permalink
[cm] Updates api::params to include cluster name, for convience sake
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrithr committed Mar 20, 2014
1 parent 3343115 commit 619b1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cm/manifests/api/params.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class cm::api::params inherits cm::params {
# find out the api version to work with
$cluster_name = $::cm::params::cm_cluster_name
$cm_domain = "http://${::cm::params::cm_server_host}:${::cm::params::cm_api_port}"
$api_version = inline_template("<%= require 'uri'
open(\"${cm_domain}/api/version\",
Expand Down

0 comments on commit 619b1dd

Please sign in to comment.