Created by: darko-poljak
@lubo Can you perhaps fix this bug? Do you have non-working case (init manifest sample) with expected result?
Created by: lubo
@darko-poljak I might do that, I've opened this issue mainly as a reminder for myself. This is my use case:
I have a nginx site configuration file in…
Created by: darko-poljak
@lubo Did you try to write full path to nginx in "--onchange" argument? Just in case.
Created by: darko-poljak
@lubo Ah, I see in type's source that in absent case onchange is not executed. This needs to be fixed.
Created by: darko-poljak
@uqam-fob Try this instead:
__line /tmp/xx --regex='-x' --line 'x'
The above that fails is a known failure/bug with argparse module which is used by…
Created by: antifob
Thanks, @darko-poljak, for the pointer. it still fails so I PR'ed a fix.
For those interested: upstream argparse issue at https://bugs.python.org/issue9334
edit: typo
Created by: darko-poljak
@uqam-fob The reason for implementing output-streams: important information was lost during a config run, hidden in all the other output. We now store all that, including…
Created by: antifob
Thanks for the information.
When I wrote "remote scripts", I was mentioning "remote-copy" and "remote-exec" scripts; as this patch affects more than the scripts you…
Created by: asteven
I understand your problem: it used to work, now it doesn't. Without you changing anything yourself. That sucks from a users point of view.
I implemented the output stream…
Created by: darko-poljak
@uqam-fob @asteven Adding option to turn this off shouldn't be hard. I will take this task and this new command line/config option. If you agree, by default, saving output…
Created by: antifob
@asteven Yes, I understand the problem and why it might be desired. Overall, I think it is a good solution. I just don't see why it should be forced on users.
@darko-poljak…
Created by: tom-ee
I'd second adding a switch to disable the "save output streams". In particular the stderr/*- and stdout/*-files created by the new features are only available after the…
Created by: darko-poljak
@uqam-fob @asteven @tom-ee https://github.com/darko-poljak/cdist/tree/output_streams_switch Can you clone my repo and test this branch? If you run cdist config as usual…
Created by: antifob
$ ./cdist/bin/cdist config -S --remote-copy ./remote/copy --remote-exec ./remote/exec localhost
+ ssh localhost sh -c "rm -rf /var/lib/cdist"
👍
Created by: darko-poljak
@thriqon In __package_apt version parameter is not yet supported. I will implement this support and you can test it.
Created by: darko-poljak
@thriqon I added support for --version to __package_apt. Can you clone my repo and checkout
https://github.com/darko-poljak/cdist/tree/package_apt_version and test…
Created by: thriqon
Looks good. Thanks for the swift implementation!
Created by: tom-ee
PR #623 resolved this.