aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Nagy <gabriel.nagy@puppet.com>2021-03-11 16:36:09 +0200
committerGabriel Nagy <gabriel.nagy@puppet.com>2021-03-11 16:36:09 +0200
commit1487c207cca7217a909cf1a305431c45c93be64d (patch)
treed32124c1a35e34d0ab9e58b71132435b477664fc
parent771a514cbc792481d98b29ec48fe5e369fa111aa (diff)
downloadpuppet-sshkeys_core-1487c207cca7217a909cf1a305431c45c93be64d.tar.gz
puppet-sshkeys_core-1487c207cca7217a909cf1a305431c45c93be64d.tar.bz2
(MODULES-10953) Update metadata.json and pdk version
To avoid having to update this everytime we release a new agent platform, it should be enough to specify the supported OS, without specific versions. It is assumed that for each OS in metadata.json, the versions supported are the same as what the agent itself supports.
-rw-r--r--Gemfile2
-rw-r--r--metadata.json59
2 files changed, 13 insertions, 48 deletions
diff --git a/Gemfile b/Gemfile
index 5f131ee..5c87918 100644
--- a/Gemfile
+++ b/Gemfile
@@ -51,7 +51,7 @@ end
group :release do
gem "puppet-blacksmith", '~> 3.4', require: false
- gem "pdk", platforms: [:ruby]
+ gem "pdk", '~> 2.0', platforms: [:ruby]
end
puppet_version = ENV['PUPPET_GEM_VERSION']
diff --git a/metadata.json b/metadata.json
index 1eff27f..b0015fd 100644
--- a/metadata.json
+++ b/metadata.json
@@ -12,78 +12,43 @@
],
"operatingsystem_support": [
{
- "operatingsystem": "CentOS",
- "operatingsystemrelease": [
- "7"
- ]
+ "operatingsystem": "CentOS"
},
{
- "operatingsystem": "OracleLinux",
- "operatingsystemrelease": [
- "7"
- ]
+ "operatingsystem": "OracleLinux"
},
{
- "operatingsystem": "RedHat",
- "operatingsystemrelease": [
- "7"
- ]
+ "operatingsystem": "RedHat"
},
{
- "operatingsystem": "Scientific",
- "operatingsystemrelease": [
- "7"
- ]
+ "operatingsystem": "Scientific"
},
{
- "operatingsystem": "Debian",
- "operatingsystemrelease": [
- "8"
- ]
+ "operatingsystem": "Debian"
},
{
- "operatingsystem": "Ubuntu",
- "operatingsystemrelease": [
- "16.04"
- ]
+ "operatingsystem": "Ubuntu"
},
{
- "operatingsystem": "Fedora",
- "operatingsystemrelease": [
- "25"
- ]
+ "operatingsystem": "Fedora"
},
{
- "operatingsystem": "Darwin",
- "operatingsystemrelease": [
- "16"
- ]
+ "operatingsystem": "Darwin"
},
{
- "operatingsystem": "SLES",
- "operatingsystemrelease": [
- "12"
- ]
+ "operatingsystem": "SLES"
},
{
- "operatingsystem": "Solaris",
- "operatingsystemrelease": [
- "11"
- ]
+ "operatingsystem": "Solaris"
},
{
- "operatingsystem": "windows",
- "operatingsystemrelease": [
- "2008 R2",
- "2012 R2",
- "10"
- ]
+ "operatingsystem": "windows"
}
],
"requirements": [
{
"name": "puppet",
- "version_requirement": ">= 6.0.0 < 7.0.0"
+ "version_requirement": ">= 6.0.0 < 8.0.0"
}
],
"pdk-version": "1.14.0",