Skip to content

Commit

Permalink
pyvenv:: Harden datatype for $environment
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Nov 26, 2024
1 parent 647a8fc commit 4a2b284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ Default value: `['/bin', '/usr/bin', '/usr/sbin', '/usr/local/bin',]`

##### <a name="-python--pyvenv--environment"></a>`environment`

Data type: `Array`
Data type: `Array[String[1]]`

Optionally specify environment variables for pyvenv

Expand Down
2 changes: 1 addition & 1 deletion manifests/pyvenv.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4a2b284

Please sign in to comment.