Debian Codegraph @

docs/dev/logs/2011-10-14.error-output

raw
1 [23:24] brief:cdist% ./bin/cdist config -c ~/p/cdist-nutzung -v ikq04.ethz.ch
2 INFO: ikq04.ethz.ch: Deploying to ikq04.ethz.ch
3 INFO: ikq04.ethz.ch: Running object manifests and type explorers
4 cat: /home/users/nico/.tmp/tmpf969y2/out/object/__addifnosuchline/ssh-root-blukas/.cdist/parameter/line: No such file or directory
5 #!/bin/sh
6 #
7 # 2010-2011 Daniel Roth ([email protected])
8 #
9 # This file is part of cdist.
10 #
11 # cdist is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation, either version 3 of the License, or
14 # (at your option) any later version.
15 #
16 # cdist is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
20 #
21 # You should have received a copy of the GNU General Public License
22 # along with cdist. If not, see <http://www.gnu.org/licenses/>.
23 #
24 #
25
26 if [ -f "$__object/parameter/file" ]; then
27 file=$(cat "$__object/parameter/file")
28 else
29 file="/$__object_id"
30 fi
31
32 regex=$(cat "$__object/parameter/line")
33 if [ -f "$file" ]; then
34 grep -q "^$regex\$" "$file"
35 if [ $? -eq 1 ]; then
36 echo "NOTFOUND"
37 else
38 echo "FOUND"
39 fi
40 else
41 echo "NOTFOUND"
42 fi
43 ERROR: ikq04.ethz.ch: Code that raised the error:
44 None
45 ERROR: Remote script execution failed: /var/lib/cdist/conf/type/__addifnosuchline/explorer/findline ['ssh', '-o', 'User=root', '-q', 'ikq04.ethz.ch', '__explorer=/var/lib/cdist/conf/explorer', '__object_fq=__addifnosuchline/ssh-root-blukas/.cdist', '__target_host=ikq04.ethz.ch', '__object_id=ssh-root-blukas', '__type_explorer=/var/lib/cdist/conf/type/__addifnosuchline/explorer', '__object=/home/users/nico/.tmp/tmpf969y2/out/object/__addifnosuchline/ssh-root-blukas/.cdist', '/bin/sh', '-e', '/var/lib/cdist/conf/type/__addifnosuchline/explorer/findline']
46 [23:25] brief:cdist%