missed removing timeperiod_ from a validate entry

Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
This commit is contained in:
Steven Bambling 2014-11-11 06:36:47 -05:00 committed by Nick Chappell
parent 82c1930974
commit 6e5dd00438

View file

@ -34,7 +34,7 @@ define icinga2::object::timeperiod (
validate_string($target_file_name)
validate_string($target_file_owner)
validate_string($target_file_group)
validate_re($timeperiod_target_file_mode, '^\d{4}$')
validate_re($target_file_mode, '^\d{4}$')
file {"${timeperiod_target_dir}/${timeperiod_target_file_name}":
ensure => file,