diff --git a/REFERENCE.md b/REFERENCE.md index f3a382e5..d690f047 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -982,7 +982,7 @@ Default value: `['/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin',]` ##### `environment` -Data type: `Array` +Data type: `Array[String[1]]` Optionally specify environment variables for pyvenv diff --git a/manifests/pyvenv.pp b/manifests/pyvenv.pp index 5bfc2103..33b37100 100644 --- a/manifests/pyvenv.pp +++ b/manifests/pyvenv.pp @@ -32,7 +32,7 @@ String[1] $group = 'root', Stdlib::Filemode $mode = '0755', Array[Stdlib::Absolutepath] $path = ['/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin',], - Array $environment = [], + Array[String[1]] $environment = [], Optional[String[1]] $prompt = undef, Python::Venv::PipVersion $pip_version = 'latest', Optional[Stdlib::Absolutepath] $python_path = undef,