mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make rpmbuild module work on Debian GNU/Linux and derivatives
This commit is contained in:
parent
1132bc5d0b
commit
758f5cd77c
1 changed files with 2 additions and 2 deletions
|
@ -43,9 +43,9 @@ __virtualname__ = 'pkgbuild'
|
|||
|
||||
def __virtual__():
|
||||
'''
|
||||
Confirm this module is on a Redhat/CentOS based system, and has required utilities
|
||||
Confirm this module is on a RedHat/CentOS or Debian based system, and has required utilities
|
||||
'''
|
||||
if __grains__.get('os_family', False) == 'RedHat':
|
||||
if __grains__.get('os_family', False) in ('Debian', 'RedHat'):
|
||||
missing_util = False
|
||||
utils_reqd = ['gpg', 'rpm', 'rpmbuild', 'mock', 'createrepo']
|
||||
for named_util in utils_reqd:
|
||||
|
|
Loading…
Add table
Reference in a new issue