removed osmajorrelease key

This commit is contained in:
justinta89 2015-08-06 16:00:39 -06:00
parent 941910bdca
commit aaede4a7a1

View File

@ -957,7 +957,7 @@ def build_routes(iface, **settings):
'''
template = 'rh6_route_eth.jinja'
if __grains__['osmajorrelease'] < 6:
if __grains__['osrelease'][0] < 6:
template = 'route_eth.jinja'
log.debug('Template name: ' + template)