Skip to content

Commit

Permalink
Merge pull request #26 from mherrre/master
Browse files Browse the repository at this point in the history
Addapted restrict defaults to match CaaS
  • Loading branch information
mherrre authored Mar 28, 2022
2 parents db30683 + f4b0cec commit 8f10e85
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.1.18

* Addapted restrict defaults to match CaaS

## 0.1.17

* Added support for **Ubuntu 20.04**
Expand Down
26 changes: 11 additions & 15 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
$restrict_ipv4_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
]
$restrict_ipv6_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
]
Expand Down Expand Up @@ -99,16 +99,16 @@
$restrict_ipv4_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
]
$restrict_ipv6_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
]
Expand All @@ -119,20 +119,18 @@
$restrict_ipv4_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
'limited',
'noquery',
]
$restrict_ipv6_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
'limited',
]
}
/^18.*$|20.*$/:
Expand All @@ -141,20 +139,18 @@
$restrict_ipv4_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
'limited',
]
$restrict_ipv6_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
'limited',
]
}
default: { fail("Unsupported Ubuntu version! - ${::operatingsystemrelease}") }
Expand All @@ -176,16 +172,16 @@
$restrict_ipv4_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
]
$restrict_ipv6_default = [
'default',
'kod',
'notrap',
'nomodify',
'notrap',
'nopeer',
'noquery',
]
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eyp-ntp",
"version": "0.1.17",
"version": "0.1.18",
"author": "eyp",
"summary": "Installs, configures, and manages the NTP service",
"license": "Apache-2.0",
Expand Down

0 comments on commit 8f10e85

Please sign in to comment.