Skip to content

Commit

Permalink
Workaround CI failure with explicit lookup
Browse files Browse the repository at this point in the history
I would expect Automatic Parameter Lookup to do exactly this, but it
does not.
  • Loading branch information
smortex committed Mar 21, 2023
1 parent 5ccfca4 commit d30263f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,8 @@ Data type: `String[1]`

The group of the virtualenv being manipulated.

Default value: `lookup('python::pip::group')`

##### <a name="-python--pip--index"></a>`index`

Data type: `Variant[Boolean,String[1]]`
Expand Down
2 changes: 1 addition & 1 deletion manifests/pip.pp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# }
#
define python::pip (
String[1] $group,
String[1] $group = lookup('python::pip::group'),
String[1] $pkgname = $name,
Variant[Enum[present, absent, latest], String[1]] $ensure = present,
Variant[Enum['system'], Stdlib::Absolutepath] $virtualenv = 'system',
Expand Down

0 comments on commit d30263f

Please sign in to comment.