/srv/irclogs.ubuntu.com/2021/09/28/#cloud-init.txt

=== cpaelzer_ is now known as cpaelzer
=== cpaelzer_ is now known as cpaelzer
nicolasbockI am trying to understand when certain modules run. I am little confused though by the wording in the documentation. For example, Chef is to run `always` (https://cloudinit.readthedocs.io/en/latest/topics/modules.html#chef) and Emit Upstart `per always` (https://cloudinit.readthedocs.io/en/latest/topics/modules.html#emit-upstart). Is that the same thing?21:02
falcojrnicolasbock: yes, they are the same. That's an unfortunate inconsistency in the docs21:21
nicolasbockAh ok. Is `bootcmd` run every boot then?21:22
nicolasbockIn other words, do I have to worry about writing idempotent commands in `bootcmd`?21:23
falcojryes, it is run every boot21:26
falcojrif you can wait until later in boot, runcmd only runs once per instance21:28
nicolasbockOh cool. Thanks for the info falcojr !21:35
nicolasbockfalcojr: I took the liberty to suggest https://github.com/canonical/cloud-init/pull/103922:17
ubottuPull 1039 in canonical/cloud-init "Make wording for module frequency consistent" [Open]22:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!