From e44bee5e8cc30fc01037da6645d61dc0ff83f107 Mon Sep 17 00:00:00 2001 From: Michael Moll Date: Tue, 5 Sep 2017 18:27:37 +0200 Subject: [PATCH] fix facter 2.x facts for Debian 9 --- facts/2.0/debian-9-i386.facts | 6 +++--- facts/2.0/debian-9-x86_64.facts | 6 +++--- facts/2.1/debian-9-i386.facts | 6 +++--- facts/2.1/debian-9-x86_64.facts | 6 +++--- facts/2.2/debian-9-i386.facts | 11 ++++++----- facts/2.2/debian-9-x86_64.facts | 11 ++++++----- facts/2.3/debian-9-i386.facts | 11 ++++++----- facts/2.3/debian-9-x86_64.facts | 11 ++++++----- facts/2.4/debian-9-i386.facts | 11 ++++++----- facts/2.4/debian-9-x86_64.facts | 11 ++++++----- facts/2.5/debian-9-i386.facts | 11 ++++++----- facts/2.5/debian-9-x86_64.facts | 11 ++++++----- 12 files changed, 60 insertions(+), 52 deletions(-) diff --git a/facts/2.0/debian-9-i386.facts b/facts/2.0/debian-9-i386.facts index 3dbf410d..323f33dd 100644 --- a/facts/2.0/debian-9-i386.facts +++ b/facts/2.0/debian-9-i386.facts @@ -8,7 +8,7 @@ "kernel": "Linux", "uptime_days": 0, "uniqueid": "200ac67e", - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "rubyversion": "2.3.3", "timezone": "PDT", "hardwareisa": "unknown", @@ -81,5 +81,5 @@ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48518, "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)", - "operatingsystemmajrelease": "stretch/sid" -} \ No newline at end of file + "operatingsystemmajrelease": "9" +} diff --git a/facts/2.0/debian-9-x86_64.facts b/facts/2.0/debian-9-x86_64.facts index 782207fc..a52167b1 100644 --- a/facts/2.0/debian-9-x86_64.facts +++ b/facts/2.0/debian-9-x86_64.facts @@ -20,7 +20,7 @@ "facterversion": "2.0.2", "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48346, - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "uptime": "13:25 hours", "macaddress": "00:50:56:a2:40:1c", "boardmanufacturer": "Intel Corporation", @@ -70,7 +70,7 @@ "rubyversion": "2.3.3", "uptime_days": 0, "lsbdistcodename": "stretch", - "operatingsystemmajrelease": "stretch/sid", + "operatingsystemmajrelease": "9", "netmask": "255.255.240.0", "id": "root", "blockdevice_fd0_size": 4096, @@ -82,4 +82,4 @@ "blockdevice_sr0_model": "VMware IDE CDR10", "blockdevices": "fd0,sda,sr0", "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)" -} \ No newline at end of file +} diff --git a/facts/2.1/debian-9-i386.facts b/facts/2.1/debian-9-i386.facts index 694194ec..0a3c2df4 100644 --- a/facts/2.1/debian-9-i386.facts +++ b/facts/2.1/debian-9-i386.facts @@ -8,7 +8,7 @@ "kernel": "Linux", "uptime_days": 0, "uniqueid": "200ac67e", - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "rubyversion": "2.3.3", "timezone": "PDT", "hardwareisa": "unknown", @@ -99,5 +99,5 @@ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48508, "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)", - "operatingsystemmajrelease": "stretch/sid" -} \ No newline at end of file + "operatingsystemmajrelease": "9" +} diff --git a/facts/2.1/debian-9-x86_64.facts b/facts/2.1/debian-9-x86_64.facts index b621ab72..5426e31f 100644 --- a/facts/2.1/debian-9-x86_64.facts +++ b/facts/2.1/debian-9-x86_64.facts @@ -22,7 +22,7 @@ "facterversion": "2.1.0", "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48336, - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "uptime": "13:25 hours", "macaddress": "00:50:56:a2:40:1c", "boardmanufacturer": "Intel Corporation", @@ -71,7 +71,7 @@ "rubyversion": "2.3.3", "uptime_days": 0, "lsbdistcodename": "stretch", - "operatingsystemmajrelease": "stretch/sid", + "operatingsystemmajrelease": "9", "netmask": "255.255.240.0", "id": "root", "blockdevice_fd0_size": 4096, @@ -100,4 +100,4 @@ } }, "osfamily": "Debian" -} \ No newline at end of file +} diff --git a/facts/2.2/debian-9-i386.facts b/facts/2.2/debian-9-i386.facts index 90092a1a..9354743d 100644 --- a/facts/2.2/debian-9-i386.facts +++ b/facts/2.2/debian-9-i386.facts @@ -11,8 +11,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "minor": "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -25,7 +26,7 @@ }, "uptime_days": 0, "uniqueid": "200ac67e", - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "rubyversion": "2.3.3", "timezone": "PDT", "hardwareisa": "unknown", @@ -131,5 +132,5 @@ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48498, "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)", - "operatingsystemmajrelease": "stretch/sid" -} \ No newline at end of file + "operatingsystemmajrelease": "9" +} diff --git a/facts/2.2/debian-9-x86_64.facts b/facts/2.2/debian-9-x86_64.facts index 9d5025b3..94304502 100644 --- a/facts/2.2/debian-9-x86_64.facts +++ b/facts/2.2/debian-9-x86_64.facts @@ -16,8 +16,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "minor: "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -45,7 +46,7 @@ "facterversion": "2.2.0", "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48326, - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "uptime": "13:25 hours", "macaddress": "00:50:56:a2:40:1c", "boardmanufacturer": "Intel Corporation", @@ -102,7 +103,7 @@ "lsbminordistrelease": "1", "lsbdistcodename": "stretch", "gid": "root", - "operatingsystemmajrelease": "stretch/sid", + "operatingsystemmajrelease": "9", "lsbdistid": "Debian", "netmask": "255.255.240.0", "id": "root", @@ -132,4 +133,4 @@ } }, "osfamily": "Debian" -} \ No newline at end of file +} diff --git a/facts/2.3/debian-9-i386.facts b/facts/2.3/debian-9-i386.facts index f5d8f989..6f1fa4dc 100644 --- a/facts/2.3/debian-9-i386.facts +++ b/facts/2.3/debian-9-i386.facts @@ -11,8 +11,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "minor": "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -25,7 +26,7 @@ }, "uptime_days": 0, "uniqueid": "200ac67e", - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "rubyversion": "2.3.3", "timezone": "PDT", "hardwareisa": "unknown", @@ -132,5 +133,5 @@ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48489, "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)", - "operatingsystemmajrelease": "stretch/sid" -} \ No newline at end of file + "operatingsystemmajrelease": "9" +} diff --git a/facts/2.3/debian-9-x86_64.facts b/facts/2.3/debian-9-x86_64.facts index 5ee85691..53eedf95 100644 --- a/facts/2.3/debian-9-x86_64.facts +++ b/facts/2.3/debian-9-x86_64.facts @@ -16,8 +16,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "major": "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -45,7 +46,7 @@ "facterversion": "2.3.0", "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48316, - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "uptime": "13:25 hours", "macaddress": "00:50:56:a2:40:1c", "boardmanufacturer": "Intel Corporation", @@ -103,7 +104,7 @@ "lsbminordistrelease": "1", "lsbdistcodename": "stretch", "gid": "root", - "operatingsystemmajrelease": "stretch/sid", + "operatingsystemmajrelease": "9", "lsbdistid": "Debian", "netmask": "255.255.240.0", "id": "root", @@ -133,4 +134,4 @@ } }, "osfamily": "Debian" -} \ No newline at end of file +} diff --git a/facts/2.4/debian-9-i386.facts b/facts/2.4/debian-9-i386.facts index 753c1b5e..7a8592e5 100644 --- a/facts/2.4/debian-9-i386.facts +++ b/facts/2.4/debian-9-i386.facts @@ -11,8 +11,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "minor": "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -25,7 +26,7 @@ }, "uptime_days": 0, "uniqueid": "200ac67e", - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "rubyversion": "2.3.3", "timezone": "PDT", "hardwareisa": "unknown", @@ -132,5 +133,5 @@ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48480, "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)", - "operatingsystemmajrelease": "stretch/sid" -} \ No newline at end of file + "operatingsystemmajrelease": "9" +} diff --git a/facts/2.4/debian-9-x86_64.facts b/facts/2.4/debian-9-x86_64.facts index bfbe1b44..a3a02910 100644 --- a/facts/2.4/debian-9-x86_64.facts +++ b/facts/2.4/debian-9-x86_64.facts @@ -16,8 +16,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "major": "s1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -45,7 +46,7 @@ "facterversion": "2.4.6", "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48307, - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "uptime": "13:25 hours", "macaddress": "00:50:56:a2:40:1c", "boardmanufacturer": "Intel Corporation", @@ -103,7 +104,7 @@ "lsbminordistrelease": "1", "lsbdistcodename": "stretch", "gid": "root", - "operatingsystemmajrelease": "stretch/sid", + "operatingsystemmajrelease": "9", "lsbdistid": "Debian", "netmask": "255.255.240.0", "id": "root", @@ -133,4 +134,4 @@ } }, "osfamily": "Debian" -} \ No newline at end of file +} diff --git a/facts/2.5/debian-9-i386.facts b/facts/2.5/debian-9-i386.facts index 0d4c74d6..5e51c418 100644 --- a/facts/2.5/debian-9-i386.facts +++ b/facts/2.5/debian-9-i386.facts @@ -11,8 +11,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "minor": "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -25,7 +26,7 @@ }, "uptime_days": 0, "uniqueid": "200ac67e", - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "rubyversion": "2.3.3", "timezone": "PDT", "hardwareisa": "unknown", @@ -132,5 +133,5 @@ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48470, "lsbdistdescription": "Debian GNU/Linux 9.1 (stretch)", - "operatingsystemmajrelease": "stretch/sid" -} \ No newline at end of file + "operatingsystemmajrelease": "9" +} diff --git a/facts/2.5/debian-9-x86_64.facts b/facts/2.5/debian-9-x86_64.facts index 678368f3..ad6e4df3 100644 --- a/facts/2.5/debian-9-x86_64.facts +++ b/facts/2.5/debian-9-x86_64.facts @@ -16,8 +16,9 @@ "name": "Debian", "family": "Debian", "release": { - "major": "stretch/sid", - "full": "stretch/sid" + "major": "9", + "minor": "1", + "full": "9.1" }, "lsb": { "distcodename": "stretch", @@ -45,7 +46,7 @@ "facterversion": "2.5.0", "rubysitedir": "/usr/local/lib/site_ruby/2.3.0", "uptime_seconds": 48297, - "operatingsystemrelease": "stretch/sid", + "operatingsystemrelease": "9.1", "uptime": "13:24 hours", "macaddress": "00:50:56:a2:40:1c", "boardmanufacturer": "Intel Corporation", @@ -103,7 +104,7 @@ "lsbminordistrelease": "1", "lsbdistcodename": "stretch", "gid": "root", - "operatingsystemmajrelease": "stretch/sid", + "operatingsystemmajrelease": "9", "lsbdistid": "Debian", "netmask": "255.255.240.0", "id": "root", @@ -133,4 +134,4 @@ } }, "osfamily": "Debian" -} \ No newline at end of file +}