Skip to content

Commit

Permalink
add param validation to ganglia::web class
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Dec 21, 2013
1 parent e4ed800 commit fe92cb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
$ganglia_ip = '127.0.0.1',
$ganglia_port = 8652,
) inherits ganglia::params {
validate_string($ganglia_ip)
validate_string($ganglia_port)

anchor{ 'ganglia::web::begin': } ->
class{ 'ganglia::web::install': } ->
Expand Down

0 comments on commit fe92cb2

Please sign in to comment.