Project

General

Profile

Actions

Bug #9240

closed

Repository addition in rudder-setup fails when lsb_release is unavailable on Debian like OSes

Added by Alexis Mousset over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Scripts
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On some systems it is not installed by default, we should find a way to add the repositories properly anyway.

Actions #1

Updated by Alexis Mousset over 7 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Benoît PECCATTE over 7 years ago

There should not be more dependencies in rudder-setup than in rudder. Be careful to not depend on it when rudder doesn't.

Actions #3

Updated by Matthieu CERDA over 7 years ago

  • Subject changed from Add lsb_release installation to rudder-setup to Repository addition in rudder-setup fails when lsb_release is unavailable on Debian like OSes
  • Description updated (diff)

Agreed, we discussed that with AMO already.

We should adapt the existing logic in os_detect.sh, making the required information (the OS suite, like 'xenial' or 'jessie') available using either lsb_release if available, or using something else if it isn't.

Actions #4

Updated by Matthieu CERDA over 7 years ago

  • Assignee changed from Alexis Mousset to Matthieu CERDA
Actions #5

Updated by Matthieu CERDA over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-tools/pull/222
Actions #6

Updated by Matthieu CERDA over 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Benoît PECCATTE over 7 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF