mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix for #6601
This commit is contained in:
parent
e940f60c3c
commit
6df21bd79b
@ -926,7 +926,7 @@ def os_data():
|
||||
grains['osfinger'] = '{os}-{ver}'.format(
|
||||
os=grains['osfullname'],
|
||||
ver=grains['osrelease'].partition('.')[0])
|
||||
elif grains['osfullname'] == 'Ubuntu':
|
||||
elif grains.get('osfullname') == 'Ubuntu':
|
||||
grains['osfinger'] = '{os}-{ver}'.format(
|
||||
os=grains['osfullname'],
|
||||
ver=grains['osrelease'])
|
||||
|
Loading…
Reference in New Issue
Block a user