This commit is contained in:
Thomas S Hatch 2013-08-09 14:13:19 -06:00
parent e940f60c3c
commit 6df21bd79b

View File

@ -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'])