mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-20 22:50:33 +03:00
Run plugins before anything else
This commit is contained in:
parent
8daa3c644c
commit
8b24e8912e
@ -87,9 +87,9 @@ class gpoa_controller:
|
||||
'''
|
||||
GPOA controller entry point
|
||||
'''
|
||||
self.start_plugins()
|
||||
self.start_backend()
|
||||
self.start_frontend()
|
||||
self.start_plugins()
|
||||
|
||||
def start_backend(self):
|
||||
'''
|
||||
@ -109,8 +109,13 @@ class gpoa_controller:
|
||||
'''
|
||||
Function to start appliers
|
||||
'''
|
||||
target = self.target
|
||||
|
||||
if self.__args.nodomain:
|
||||
target = 'Computer'
|
||||
|
||||
try:
|
||||
appl = frontend_manager(self.username, self.target)
|
||||
appl = frontend_manager(self.username, target)
|
||||
appl.apply_parameters()
|
||||
except Exception as exc:
|
||||
logging.error(slogm('Error occured while running applier: {}'.format(exc)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user