diff --git a/README.md b/README.md index 2afbbb2..5740aa0 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ perl version. ##### `timeout` -`String` Defaults to `900` +`Integer` Defaults to `900` This sets the timeout on the `perlbrew install` command. It may be nessicary to increase this value on a slow host or if the `--notest` flag is not being diff --git a/manifests/perl.pp b/manifests/perl.pp index b5e7e5a..c93216c 100644 --- a/manifests/perl.pp +++ b/manifests/perl.pp @@ -9,7 +9,7 @@ validate_string($target) validate_string($version) validate_string($flags) - validate_string($timeout) + validate_integer($timeout) Perlbrew[$target] -> Perlbrew::Perl[$name]