Documentation: Add boot stage of execution to each module documentation

Bug #1876333 reported by Brian Vanderbusch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Wishlist
Unassigned

Bug Description

As a newcomer to cloud-init, the module documentation has been extremely helpful in laying out the options I can utilize. However, I often have to ask myself if i need to do something as a runcmd script rather than utilize a module, since the documentation doesn't clarify what boot stage (or stages as I've come to find out) a particular module is executed in.

Proposal:

Right after the summary of each module in the documentation, add a "Boot stages:" section.

I think this will also help reinforce the concept of the 5 boot stages of cloud-init to newcomers, and that will indirectly make it easier to entice new contributors.

Tags: docs
Revision history for this message
Dan Watkins (oddbloke) wrote :

So this is a little more complicated than it immediately appears, because the order of modules is configurable at image build time (in /etc/cloud/cloud.cfg).

That said, I think that a disclaimer to this effect at the top of the modules page is probably sufficient to allow us to include the phase that the upstream config (and therefore Ubuntu's, at least).

(We probably also want to have this automated somehow, so that we don't end up with stale documentation if things change phase etc.)

Changed in cloud-init:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Brian Vanderbusch (longlivechief) wrote :

That sounds great to me. Of course, that also would lead into documentation on controlling order and phase of modules in /etc/cloud/cloud.cfg.d. Example: https://paste.ubuntu.com/p/77pqCKjrBB/

Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.