diff options
author | Simon Rettberg | 2024-06-21 16:39:43 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-21 16:39:43 +0200 |
commit | e801ac3b5d511f699f79f13d6d6755d8507bb9d6 (patch) | |
tree | af6b126c6fcdf88c79048960faca06b3196f8657 /modules-available/sysconfig | |
parent | [sysconfig] screensaver: Minor refactor (diff) | |
download | slx-admin-e801ac3b5d511f699f79f13d6d6755d8507bb9d6.tar.gz slx-admin-e801ac3b5d511f699f79f13d6d6755d8507bb9d6.tar.xz slx-admin-e801ac3b5d511f699f79f13d6d6755d8507bb9d6.zip |
[sysconfig] Fix parentTask dependency for Taskmanager calls
Diffstat (limited to 'modules-available/sysconfig')
3 files changed, 3 insertions, 2 deletions
diff --git a/modules-available/sysconfig/inc/configmodule/screensaver.inc.php b/modules-available/sysconfig/inc/configmodule/screensaver.inc.php index 1797331c..66f8d41c 100644 --- a/modules-available/sysconfig/inc/configmodule/screensaver.inc.php +++ b/modules-available/sysconfig/inc/configmodule/screensaver.inc.php @@ -27,6 +27,7 @@ class ConfigModule_Screensaver extends ConfigModule 'id' => $taskId, 'files' => $this->getFileArray(), 'destination' => $tgz, + 'parentTask' => $parent, ), false); } diff --git a/modules-available/sysconfig/inc/configmodule/sshconfig.inc.php b/modules-available/sysconfig/inc/configmodule/sshconfig.inc.php index a62d1035..b6fae967 100644 --- a/modules-available/sysconfig/inc/configmodule/sshconfig.inc.php +++ b/modules-available/sysconfig/inc/configmodule/sshconfig.inc.php @@ -21,7 +21,7 @@ class ConfigModule_SshConfig extends ConfigModule $config = $this->moduleData + array( 'filename' => $tgz, 'failOnParentFail' => false, - 'parent' => $parent + 'parentTask' => $parent, ); return Taskmanager::submit('SshdConfigGenerator', $config); } diff --git a/modules-available/sysconfig/inc/configmodule/sshkey.inc.php b/modules-available/sysconfig/inc/configmodule/sshkey.inc.php index e4a55ad7..91df47d3 100644 --- a/modules-available/sysconfig/inc/configmodule/sshkey.inc.php +++ b/modules-available/sysconfig/inc/configmodule/sshkey.inc.php @@ -24,7 +24,7 @@ class ConfigModule_SshKey extends ConfigModule => $this->moduleData['publicKey']], 'destination' => $tgz, 'failOnParentFail' => false, - 'parent' => $parent + 'parentTask' => $parent, ); // Create config module, which will also check if the pubkey is valid return Taskmanager::submit('MakeTarball', $config); |