• Joined on 2021-11-20
nico commented on pull request ungleich-public/cdist#331 2022-04-06 13:05:02 +00:00
Make file attribute changes more atomic

You are right, we did not really consider the IPC between code-local and code-remote on the remote side.

I tested using a copy of the __file type:

destination="/$__object_id"
source="…
nico commented on pull request ungleich-public/cdist#331 2022-04-06 09:43:14 +00:00
Make file attribute changes more atomic

If I am not mistaken and the cdist-reference so far agrees with be, the $__object variable is available for code:

__object
    Directory that contains the current object.

   …
nico commented on pull request ungleich-public/cdist#331 2022-04-06 05:34:05 +00:00
Make file attribute changes more atomic

Hey Mark,

I was thinking in a similar direction, that the mv should just be on "on the other side".

One problem that we have as a base is, where to temporarily copy the file over and do we…

nico commented on pull request ungleich-public/cdist#331 2022-04-04 13:42:59 +00:00
Make file attribute changes more atomic

Thanks a lot for the insight, @mark! And I get the problem and rephrasing it in my own words for a later reference:

  • One object is modifying the behaviour of sshd in code-local
  • cdist fails…
nico commented on pull request ungleich-public/cdist#331 2022-04-03 10:19:02 +00:00
Make file attribute changes more atomic

Hey @mark! Thanks for the PR.

I am not fully getting the impact just yet, but moving the whole logic into __gencode_local as a starter "feels" wrong (doesn't mean your solution is right).

nico pushed to master at ungleich-public/ungleich-staticcms 2022-04-02 06:10:48 +00:00
c17cedae6a ++first of april
nico pushed to master at ungleich-public/ungleich-tools 2022-04-01 13:26:34 +00:00
dc1f42ab02 Run apk update before adding git and co.
nico pushed to master at ungleich-public/ungleich-staticcms 2022-04-01 08:09:13 +00:00
1118973221 Minus caps
nico pushed to master at ungleich-public/ungleich-staticcms 2022-04-01 07:59:54 +00:00
6abb3599d0 +removal of kubernetes
nico pushed to master at ungleich-public/ungleich-staticcms 2022-04-01 07:47:06 +00:00
a145180e12 infra update
nico pushed to master at ungleich-public/ungleich-staticcms 2022-03-31 20:12:45 +00:00
4f3cf508b3 ++mini h4g update
nico pushed to master at ungleich-public/ungleich-staticcms 2022-03-31 20:10:01 +00:00
4ee568370b k8s / dns: update with github link
nico pushed to master at ungleich-public/ungleich-k8s 2022-03-29 16:28:36 +00:00
4f19a2a6fb finish the helm yaml tree test
531e2c8c51 Add a test helm chart for tree inclusion
Compare 2 commits »
nico pushed to master at nico/nsbin 2022-03-23 18:33:55 +00:00
72fa4f22d0 Add script for monitoring machines to keep the screen on
nico pushed to master at ungleich-public/ungleich-graphviz 2022-03-21 16:36:44 +00:00
f6e8bd45a4 Add backup picture
nico pushed to master at ungleich-public/ungleich-graphviz 2022-03-21 16:29:43 +00:00
nico pushed to master at nico/nsbin 2022-03-16 17:12:40 +00:00
42cf4c291a sync-all-repos: static ones only by default
nico pushed to master at ungleich-public/ungleich-tools 2022-03-13 16:35:56 +00:00
ccdc89acee openwrt: clarify cli usage
nico pushed to master at ungleich-public/ungleich-tools 2022-03-13 16:35:42 +00:00
9f3f014a84 Add script to copy alpine linux installer and execute it
888a1bbd14 [alpine installer] add fs type on mount
Compare 2 commits »
nico pushed to master at ungleich-public/ungleich-k8s 2022-03-11 07:49:50 +00:00
747afaae50 Merge branch 'master' of code.ungleich.ch:ungleich-public/ungleich-k8s
d5bcf3cd90 Update apps/matrix
Compare 2 commits »