diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-19 16:44:06 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-19 16:44:06 -0400 |
commit | 1b1222ec7f95a773fcab39bf1ebe68da198919be (patch) | |
tree | b180dc9a976886f143d0743cd725d3ec5bd3c707 /cobbler/webui/master.py | |
parent | d09c20fc07efb87cffcbac467f189e312eb67e9e (diff) | |
download | third_party-cobbler-1b1222ec7f95a773fcab39bf1ebe68da198919be.tar.gz third_party-cobbler-1b1222ec7f95a773fcab39bf1ebe68da198919be.tar.xz third_party-cobbler-1b1222ec7f95a773fcab39bf1ebe68da198919be.zip |
Service restarting has been abstracted out of the action_sync code, and is now a trigger.
This commit adds pre/post sync triggers, for scripting of arbitrary actions. The idea is that
a cobbler user can now modify the restart-services script to rsync DHCP configurations to a remote
box and instead restart them there, for hosting DHCP on a different box. Or do anything
else that might be required. The restart-services trigger will ship in the cobbler RPM. Users
can modify it at will and it is marked as config(noreplace) so upgrades will not affect it.
Diffstat (limited to 'cobbler/webui/master.py')
-rw-r--r-- | cobbler/webui/master.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/webui/master.py b/cobbler/webui/master.py index c861aeb..17d93b0 100644 --- a/cobbler/webui/master.py +++ b/cobbler/webui/master.py @@ -33,8 +33,8 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '2.0rc8' __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8) -__CHEETAH_genTime__ = 1192820351.713706 -__CHEETAH_genTimestamp__ = 'Fri Oct 19 14:59:11 2007' +__CHEETAH_genTime__ = 1192826261.8448961 +__CHEETAH_genTimestamp__ = 'Fri Oct 19 16:37:41 2007' __CHEETAH_src__ = 'webui_templates/master.tmpl' __CHEETAH_srcLastModified__ = 'Fri Oct 12 11:53:14 2007' __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' |