~junaidali/charms/trusty/plumgrid-gateway/oil_bug

« back to all changes in this revision

Viewing changes to hooks/pg_gw_hooks.py

  • Committer: bbaqar at plumgrid
  • Date: 2015-08-16 19:08:38 UTC
  • Revision ID: bbaqar@plumgrid.com-20150816190838-xpc1qevksexyzdm6
Removing PLUMgrid restart on LCM Key post

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    This hook is run when a config parameter is changed.
71
71
    It also runs on node reboot.
72
72
    '''
 
73
    if add_lcm_key():
 
74
        log("PLUMgrid LCM Key added")
 
75
        return 1
73
76
    stop_pg()
74
77
    configure_sources(update=True)
75
78
    pkgs = determine_packages()