Skip to content

Commit

Permalink
Merge pull request #398 from nmaludy/master
Browse files Browse the repository at this point in the history
Use Python::Version as type for puppetboard::python_version
  • Loading branch information
bastelfreak authored Dec 14, 2023
2 parents 78834f7 + d3874c2 commit c3c7660
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 @@ -311,7 +311,7 @@ Default value: `false`

##### <a name="-puppetboard--python_version"></a>`python_version`

Data type: `Pattern[/^3\.\d{1,2}$|^3\.\d{1,2}\.\d{1,2}$/]`
Data type: `Python::Version`

Python version to use in virtualenv.

Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
class puppetboard (
Stdlib::Absolutepath $apache_confd,
String[1] $apache_service,
Pattern[/^3\.\d{1,2}$|^3\.\d{1,2}\.\d{1,2}$/] $python_version,
Python::Version $python_version,
Enum['package', 'pip', 'vcsrepo'] $install_from = 'pip',
Boolean $manage_selinux = pick($facts['os.selinux.enabled'], false),
String $user = 'puppetboard',
Expand Down

0 comments on commit c3c7660

Please sign in to comment.