=== cpaelzer_ is now known as cpaelzer | ||
=== cpaelzer_ is now known as cpaelzer | ||
nicolasbock | I 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 |
---|---|---|
falcojr | nicolasbock: yes, they are the same. That's an unfortunate inconsistency in the docs | 21:21 |
nicolasbock | Ah ok. Is `bootcmd` run every boot then? | 21:22 |
nicolasbock | In other words, do I have to worry about writing idempotent commands in `bootcmd`? | 21:23 |
falcojr | yes, it is run every boot | 21:26 |
falcojr | if you can wait until later in boot, runcmd only runs once per instance | 21:28 |
nicolasbock | Oh cool. Thanks for the info falcojr ! | 21:35 |
nicolasbock | falcojr: I took the liberty to suggest https://github.com/canonical/cloud-init/pull/1039 | 22:17 |
ubottu | Pull 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!