Skip to content

Commit

Permalink
Bumped version added Rocky support. (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
qs5779 authored Jan 5, 2022
1 parent cdced66 commit 5635164
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
26 changes: 9 additions & 17 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qs5779-nixadmutils",
"version": "2.0.4",
"version": "2.0.5",
"author": "qs5779",
"summary": "A collection of generic scripts I use frequently to administer Linux systems.",
"license": "Apache-2.0",
Expand All @@ -14,33 +14,25 @@
}
],
"operatingsystem_support": [
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [ "8" ]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
]
"operatingsystemrelease": [ "7", "8" ]
},
{
"operatingsystem": "OracleLinux",
"operatingsystemrelease": [
"7",
"8"
]
"operatingsystemrelease": [ "7", "8" ]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
]
"operatingsystemrelease": [ "7", "8" ]
},
{
"operatingsystem": "Scientific",
"operatingsystemrelease": [
"7",
"8"
]
"operatingsystemrelease": [ "7", "8" ]
},
{
"operatingsystem": "Debian",
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/nixadmutils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
pip_list = []
package_list = %w[python3-pip python3-tz python3-distro python3-packaging python3-systemd python3-yaml python3-feedparser python3-lockfile]
end
when %r{centos|oraclelinux|redhat|scientific}
when %r{rocky|centos|oraclelinux|redhat|scientific}
if os_facts[:operatingsystemrelease].to_i < 8
package_list = %w[python3]
pip_list = %w[feedparser packaging distro PyYAML pytz lockfile]
Expand Down

0 comments on commit 5635164

Please sign in to comment.