Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
esalberg committed Oct 9, 2017
1 parent ca6da83 commit 5826ff4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/alias.pp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
# Validate our booleans
validate_bool($noaliasrouting)
validate_bool($userctl)
# Validate our regular expressions
$states = [ '^up$', '^down$' ]
validate_re($ensure, $states, '$ensure must be either "up" or "down".')

include '::network'

Expand Down

0 comments on commit 5826ff4

Please sign in to comment.