Skip to content

Commit

Permalink
Merge pull request #173 from jordiprats/master
Browse files Browse the repository at this point in the history
Added support for **Amazon Linux 2**
  • Loading branch information
jordiprats authored Mar 26, 2020
2 parents ee2338c + 4c54521 commit 3bc7323
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.2.15

* Added support for **Amazon Linux 2** - thanks to [Chris Merrett](https://github.com/chrisfu) for this [PR-172](https://github.com/NTTCom-MS/eyp-systemd/pull/172)

## 0.2.14

* Added domains option to **systemd::resolved** - fixes [issue 186](https://github.com/NTTCom-MS/eyp-systemd/issues/168)
Expand Down
10 changes: 10 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
default: { fail('Unsupported RHEL/CentOS version!') }
}
}
'Amazon':
{
case $::operatingsystemrelease
{
/^[2].*$/:
{
}
default: { fail('Unsupported RHEL/CentOS version!') }
}
}
default:
{
case $::operatingsystemrelease
Expand Down
6 changes: 5 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eyp-systemd",
"version": "0.2.14",
"version": "0.2.15",
"author": "eyp",
"summary": "management of systemd services, services dropins, sockets, timers, mounts, automounts, tmpfiles, timesyncd, journald, logind and resolved",
"license": "Apache-2.0",
Expand Down Expand Up @@ -53,6 +53,10 @@
{
"operatingsystem": "SLES",
"operatingsystemrelease": [ "11.4", "12", "12.1", "12.2", "12.3", "15" ]
},
{
"operatingsystem":"Amazon",
"operatingsystemrelease": [ "2" ]
}
],
"requirements": [
Expand Down

0 comments on commit 3bc7323

Please sign in to comment.