From 5d6158132eef92724f5480511221b5eb47aeeea3 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 | 4 ++-- facts/2.0/debian-9-x86_64.facts | 4 ++-- facts/2.1/debian-9-i386.facts | 4 ++-- facts/2.1/debian-9-x86_64.facts | 4 ++-- facts/2.2/debian-9-i386.facts | 9 +++++---- facts/2.2/debian-9-x86_64.facts | 11 ++++++----- facts/2.3/debian-9-i386.facts | 9 +++++---- facts/2.3/debian-9-x86_64.facts | 9 +++++---- facts/2.4/debian-9-i386.facts | 9 +++++---- facts/2.4/debian-9-x86_64.facts | 9 +++++---- facts/2.5/debian-9-i386.facts | 9 +++++---- facts/2.5/debian-9-x86_64.facts | 9 +++++---- 12 files changed, 49 insertions(+), 41 deletions(-) diff --git a/facts/2.0/debian-9-i386.facts b/facts/2.0/debian-9-i386.facts index 3dbf410d..03415936 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" + "operatingsystemmajrelease": "9" } \ No newline at end of file diff --git a/facts/2.0/debian-9-x86_64.facts b/facts/2.0/debian-9-x86_64.facts index 782207fc..63b1b550 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, diff --git a/facts/2.1/debian-9-i386.facts b/facts/2.1/debian-9-i386.facts index 694194ec..f7924d27 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" + "operatingsystemmajrelease": "9" } \ No newline at end of file diff --git a/facts/2.1/debian-9-x86_64.facts b/facts/2.1/debian-9-x86_64.facts index b621ab72..744ca91d 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, diff --git a/facts/2.2/debian-9-i386.facts b/facts/2.2/debian-9-i386.facts index 90092a1a..d84ab632 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" + "operatingsystemmajrelease": "9" } \ No newline at end of file diff --git a/facts/2.2/debian-9-x86_64.facts b/facts/2.2/debian-9-x86_64.facts index 9d5025b3..f9bf4716 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..093b9f11 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" + "operatingsystemmajrelease": "9" } \ No newline at end of file diff --git a/facts/2.3/debian-9-x86_64.facts b/facts/2.3/debian-9-x86_64.facts index 5ee85691..61ad500c 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", diff --git a/facts/2.4/debian-9-i386.facts b/facts/2.4/debian-9-i386.facts index 753c1b5e..c5fa07cb 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" + "operatingsystemmajrelease": "9" } \ No newline at end of file diff --git a/facts/2.4/debian-9-x86_64.facts b/facts/2.4/debian-9-x86_64.facts index bfbe1b44..b5d66950 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", + "minor": "1", + "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", diff --git a/facts/2.5/debian-9-i386.facts b/facts/2.5/debian-9-i386.facts index 0d4c74d6..69e3d67b 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" + "operatingsystemmajrelease": "9" } \ No newline at end of file diff --git a/facts/2.5/debian-9-x86_64.facts b/facts/2.5/debian-9-x86_64.facts index 678368f3..66bff841 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",