Skip to content

Commit

Permalink
Merge pull request #358 from prolixalias/feature_extend_regex
Browse files Browse the repository at this point in the history
(#357) Add Ubuntu 22.04 LTS (Jammy Jellyfish) support
  • Loading branch information
bastelfreak authored Dec 7, 2023
2 parents 5fa2932 + ef46355 commit 78834f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 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+$/]`
Data type: `Pattern[/^3\.\d{1,2}$|^3\.\d{1,2}\.\d{1,2}$/]`

Python version to use in virtualenv.

Expand Down
1 change: 1 addition & 0 deletions data/os/Ubuntu.22.04.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puppetboard::python_version: '3.10'
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+$/] $python_version,
Pattern[/^3\.\d{1,2}$|^3\.\d{1,2}\.\d{1,2}$/] $python_version,
Enum['package', 'pip', 'vcsrepo'] $install_from = 'pip',
Boolean $manage_selinux = pick($facts['os.selinux.enabled'], false),
String $user = 'puppetboard',
Expand Down
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04",
"20.04"
"20.04",
"22.04"
]
}
],
Expand Down

0 comments on commit 78834f7

Please sign in to comment.