Nick Mills-Barrett

Results 218 comments of Nick Mills-Barrett

So it looks like this happens due to a error handling the quotes in the command, for example the following file does change the command correctly: ```py server.crontab( name="Install test...

Figured this out! - Fix: https://github.com/Fizzadar/pyinfra/commit/62cdd1e21783fff98389980dc584fed09af8945f - Test: https://github.com/Fizzadar/pyinfra/commit/62cdd1e21783fff98389980dc584fed09af8945f - Cron specific test: https://github.com/Fizzadar/pyinfra/commit/30c4139fe9025974e066ad9d522abbd5b15a9e89 The example code is now working in my tests :)

Thank you for following up on this @taranlu-houzz; I've not got time to investigate now but I will!

Thanks for reporting this @yunzheng I'll look into this and fix ASAP.

I think this is a fantastic idea @themanifold! Would definitely serve a lot of use-cases where exit >0 isn't always a problem.

Hey @taranlu-houzz! No worries at all hugely appreciate you taking the time to work on this; answers below: > * Could you help me to understand how your operation tests...

@taranlu-houzz the variables will only render if not quoted at all, for example: ```py from pyinfra.operations import files files.line( path='somefile', line='this is $USER data', interpolate_variables=True, ) files.line( path='somefile', line='this is...

Hey @gchazot! I like this idea a lot, `apt.policy` would be a great addition to the module. This could be implemented relatively painlessly in the same way as `[yum|dnf].repo` where...

Hi @KuxaBeast - it is currently possible to set _a_ shell, but not disable it. There's two options for this: + `shell_executable` global argument passed into operations (https://docs.pyinfra.com/en/1.x/deploys.html#global-arguments) + The...