From 4f7fa6b8924ec1dc8651382a8d35fe532075f39e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Sep 2011 01:10:37 +0200 Subject: [PATCH] +/- todo Signed-off-by: Nico Schottelius --- core/__cdist_init_deploy | 40 ---------------------------------------- doc/dev/todo/niconext | 28 ++-------------------------- 2 files changed, 2 insertions(+), 66 deletions(-) delete mode 100755 core/__cdist_init_deploy diff --git a/core/__cdist_init_deploy b/core/__cdist_init_deploy deleted file mode 100755 index 4ac3168c..00000000 --- a/core/__cdist_init_deploy +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# 2011 Nico Schottelius (nico-cdist at schottelius.org) -# -# This file is part of cdist. -# -# cdist is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# cdist is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with cdist. If not, see . -# -# -# Prepare deployment -# - -__cdist_init_deploy() -{ - __cdist_echo info "Creating clean directory structure " - - # Ensure there is no old stuff, neither local nor remote - rm -rf "$__cdist_local_base_dir" - ssh "${__cdist_remote_user}@${__cdist_target_host}" \ - "rm -rf ${__cdist_remote_base_dir}" - - # Init base - mkdir -p "$__cdist_local_base_dir" - ssh "${__cdist_remote_user}@${__cdist_target_host}" \ - "mkdir -p ${__cdist_remote_base_dir}" - - # Link configuration source directory - consistent with remote - ln -sf "$__cdist_conf_dir" "$__cdist_local_base_dir/$__cdist_name_conf_dir" -} diff --git a/doc/dev/todo/niconext b/doc/dev/todo/niconext index 28762ef4..a59f909f 100644 --- a/doc/dev/todo/niconext +++ b/doc/dev/todo/niconext @@ -1,26 +1,2 @@ -Catch broken instances in cdist-mass-deploy -p and report broken deployements at the end! - - --------------------------------------------------------------------------------- -Bug with requirements when indirect requires is scheduled late: - -__package/collectd: Generating local code -__package/collectd: Generating remote code -__package/collectd: Transferring object -__package/collectd: Checking code-local -__package/collectd: Checking code-remote -__file/etc/collectd/collectd.conf: Generating local code -__file/etc/collectd/collectd.conf: Generating remote code -__file/etc/collectd/collectd.conf: Transferring object -__file/etc/collectd/collectd.conf: Checking code-local -__file/etc/collectd/collectd.conf: Executing code-local -scp: /etc/collectd/collectd.conf: No such file or directory -__file/etc/collectd/collectd.conf: Error: /tmp/cdist.PYKFWmj9QknE/out/object/__file/etc/collectd/collectd.conf/.cdist/code-local exited non-zero -__file/etc/collectd/collectd.conf: Warning: Faulty code: -# -# The following code was generated by /home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/conf/type/__file/gencode-local -# - -scp /home/users/nico/oeffentlich/rechner/projekte/cdist-nutzung/conf/type/__ethz_collectd/files/collectd.conf.client root@shrek08:/etc/collectd/collectd.conf -__file/etc/collectd/collectd.conf: Error: Aborting due to non-zero exit code. - +- rewrite in python? +- support non-ssh access?