Torsten Rehn
Torsten Rehn
maybe also make more use of dict_to_text
I‘m not sure you *can* remove the extra key. How would you do that with plain kubectl? The JSON we get back from the API is an indistinguishable hodgepodge of...
Just as a TLDR: removing the extra key is not the issue, it's about inspecting whether a `kubectl apply` is necessary, which kubectl itself cannot do either.
(this also applies to reloads and restarts... if we end up triggering both, we could just ignore the reload and adjust dependencies so the restart will cover all changes)
This also concerns other characters that aren't single-width.
This is harder than expected. Changing the default of an attribute based on the values of two different attributes (os, os_version) is... tricky. The easiest way would be to check...
writable homedir, /tmp
sudo requiretty
I believe it's relevant. I could have used this recently to install InfluxDB for example.
A common pattern is this: ``` python actions = { 'download_influxdb': { 'command': "cd /opt && wget https://s3.amazonaws.com/influxdb/influxdb_{}_amd64.deb".format(INFLUXDB_VERSION), 'unless': "test -f /opt/influxdb_{}_amd64.deb".format(INFLUXDB_VERSION), 'cascade_skip': False, }, 'install_influxdb': { 'command': "dpkg -i...