← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1892947] [NEW] example config for chef uses wrong syntax

 

Public bug reported:

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!

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1892947

Title:
  example config for chef uses wrong syntax

Status in cloud-init:
  New

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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1892947/+subscriptions


Follow ups