example config for chef uses wrong syntax

Bug #1892947 reported by ananke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Undecided
Unassigned

Bug Description

The example configuration https://cloudinit.readthedocs.io/en/latest/topics/examples.html#install-and-run-chef-recipes has a missing YAML key:

```
# Key from https://packages.chef.io/chef.asc
apt:
  sources:
    source1: "deb http://packages.chef.io/repos/apt/stable $RELEASE main"
    key: |
```

Should be instead:

```
# Key from https://packages.chef.io/chef.asc
apt:
  sources:
    source1:
      source: "deb http://packages.chef.io/repos/apt/stable $RELEASE main"
      key: |
``

Cheers!

Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

Thanks for reporting this issue. I have put a PR to solve it:
https://github.com/canonical/cloud-init/pull/551

Changed in cloud-init:
status: New → In Progress
Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote :

We have landed a commit that fix this issue:
https://github.com/canonical/cloud-init/commit/947a316a784580da0e91685b44635067e82e0038

If this is still a problem for you, please make a comment and set the state back
to New.

Thanks again for reporting this issue

Changed in cloud-init:
status: In Progress → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
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.