diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2009-03-13 12:49:36 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2009-03-13 12:49:36 -0400 |
commit | 1fd6c83e509db13967566da19931c42e564ebf21 (patch) | |
tree | 0c538cdd5ce093a26d8fd860fb789e3a02e353ba | |
parent | 4f8811ab07c65e052a567436a38eca418de3166a (diff) | |
download | cobbler-1fd6c83e509db13967566da19931c42e564ebf21.tar.gz cobbler-1fd6c83e509db13967566da19931c42e564ebf21.tar.xz cobbler-1fd6c83e509db13967566da19931c42e564ebf21.zip |
Update the ctime field when copying objects.
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | cobbler/collection.py | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -23,6 +23,7 @@ Cobbler CHANGELOG - (FEAT) very simple "cobbler hardlink" command to optimize space in /var/www/cobbler - (FEAT) new "change" trigger that runs on all adds/edits/removes/syncs - (FEAT) an SCM trigger that knows about /var/lib/cobbler kickstarts, snippets, and config directories, and audits them for changes +- (BUGF) update ctime on object copies - Tue Mar 3 2009 - 1.4.3 - (BUGF) fix OMAPI support's (note: deprecated) usage of subprocess diff --git a/cobbler/collection.py b/cobbler/collection.py index 50c07094..36c58b06 100644 --- a/cobbler/collection.py +++ b/cobbler/collection.py @@ -148,6 +148,7 @@ class Collection(serializable.Serializable): def copy(self,ref,newname): ref.name = newname ref.uid = self.config.generate_uid() + ref.ctime = 0 if ref.COLLECTION_TYPE == "system": # this should only happen for systems for iname in ref.interfaces.keys(): |