mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
removed osmajorrelease key
This commit is contained in:
parent
941910bdca
commit
aaede4a7a1
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user