Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: small updates to machine charm tutorial (#1583)
This PR is for capturing small updates to [Write your first machine charm](https://ops.readthedocs.io/en/latest/tutorial/write-your-first-machine-charm.html) while I'm working on creating my own sample machine charm. Summary of changes: - Adjusted the "What you'll need section" to tidy up the language & formatting, and to clarify that familiarity with Juju is not an absolute requirement. - When using `curl` to test the service after the initial deployment, we don't need to `juju exec` into the unit first. Instead, we can do `curl http://10.122.219.101:8080`, where 10.122.219.101 is the IP of the unit. I've updated the command and the preceding text to match. - Added missing context to the note that comes after using `curl` to test the service. This note was supposed to say that the reader should follow the four steps in case something went wrong after deploying the charm. I added this context. I also removed a commented-out part about inspecting hooks. In the newly-added context, I mention about `juju debug-log`, which is probably more useful than inspecting hooks. **[Preview doc](https://ops--1583.org.readthedocs.build/en/1583/tutorial/write-your-first-machine-charm.html)**
- Loading branch information