Skip to content

Commit

Permalink
relax sensu_plugin_version check
Browse files Browse the repository at this point in the history
  • Loading branch information
jlambert121 committed Jan 23, 2015
1 parent 737e14a commit b87f39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@

validate_re($repo, ['^main$', '^unstable$'], "Repo must be 'main' or 'unstable'. Found: ${repo}")
validate_re($version, ['^absent$', '^installed$', '^latest$', '^present$', '^[\d\.\-]+$'], "Invalid package version: ${version}")
validate_re($sensu_plugin_version, ['^absent$', '^installed$', '^latest$', '^present$', '^[\d\.\-]+$'], "Invalid sensu-plugin package version: ${sensu_plugin_version}")
validate_re($sensu_plugin_version, ['^absent$', '^installed$', '^latest$', '^present$', '^\d[\d\.\-\w]+$'], "Invalid sensu-plugin package version: ${sensu_plugin_version}")
validate_re($log_level, ['^debug$', '^info$', '^warn$', '^error$', '^fatal$'] )
if !is_integer($rabbitmq_port) { fail('rabbitmq_port must be an integer') }
if !is_integer($redis_port) { fail('redis_port must be an integer') }
Expand Down

0 comments on commit b87f39d

Please sign in to comment.