Devuan bug report logs - #151
salt-common does not recognize Devuan as a Debian family OS

Package: salt-common; Maintainer for salt-common is (unknown); Source for salt-common is src:salt.

Reported by: Chris Frey <cdfrey@foursquare.net>

Date: Mon, 2 Oct 2017 20:18:01 UTC

Severity: normal

Tags: jessie

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 2 Oct 2017 20:10:04 +0000
Return-Path: <cdfrey@digon.foursquare.net>
Delivered-To: devuanbugs@dyne.org
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Mon, 02 Oct 2017 22:10:04 +0200 (CEST)
Received: from digon.foursquare.net (digon.foursquare.net [206.47.163.199])
	by tupac2.dyne.org (Postfix) with ESMTP id 18D4518BB06
	for <submit@bugs.devuan.org>; Mon,  2 Oct 2017 20:08:35 +0000 (UTC)
Received: by digon.foursquare.net (Postfix, from userid 1000)
	id 8C0A7BFA6B; Mon,  2 Oct 2017 16:07:59 -0400 (EDT)
Date: Mon, 2 Oct 2017 16:07:59 -0400
From: Chris Frey <cdfrey@foursquare.net>
To: submit@bugs.devuan.org
Subject: salt-common does not recognize Devuan as a Debian family OS
Message-ID: <20171002200759.GA18202@foursquare.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.0 required=5.0 tests=RP_MATCHES_RCVD
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2
Package: salt-common
Version: 2014.1.13+ds-3

Some states in salt rely on proper detection of the OS and OS Family
to function correctly.  If not properly detected, you can run into
errors like this:

	State pkg.installed found in sls linux is unavailable

To fix this, add the following to the file salt/grains/core.py:

	_OS_FAMILY_MAP = {
	    'Devuan': 'Debian',		# new member of the family
	    'Ubuntu': 'Debian',
	    ...

This fix is already in the latest upstream salt, so this only needs
to be fixed in Devuan itself.

Thanks,
- Chris



Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Mar 29 09:44:29 2024;