Skip to content

Commit

Permalink
Use Python::Version as regex
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaludy committed Dec 12, 2023
1 parent 78834f7 commit 5709bf6
Showing 1 changed file with 1 addition and 1 deletion.
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 5709bf6

Please sign in to comment.