Skip to content

Commit

Permalink
Merge pull request #135 from timogoebel/feature-future-parser
Browse files Browse the repository at this point in the history
fixes for puppet future parser support
  • Loading branch information
solarkennedy committed Sep 5, 2015
2 parents cc9bae2 + da16396 commit 728a8ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/server/default.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@

validate_absolute_path( $default_file )

if $resolvconf != '' {
if $resolvconf {
validate_re( $resolvconf, '^(yes|no)$', 'The resolvconf value is not type of a string yes / no.' )
}

if $rootdir != '' {
if $rootdir {
validate_absolute_path( $rootdir )
}

validate_re( $enable_zone_write, '^(yes|no|\s*)$', 'The enable_zone_write value is not type of a string yes / no or empty.' )

validate_re( $enable_sdb, '^(yes|no|1|0|\s*)$', 'The enable_sdb value is not type of a string yes / no / 1 / 0 or empty.' )

if $keytab_file != '' {
if $keytab_file {
validate_absolute_path( $keytab_file )
}

Expand All @@ -45,4 +45,4 @@
notify => Class['dns::server::service'],
}

}
}

0 comments on commit 728a8ec

Please sign in to comment.