← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1711963] [NEW] unable to merge vendor-data and user-data

 

Public bug reported:

I've tried different combinations, but there is a complete lack of
instructions or guidance on
http://cloudinit.readthedocs.io/en/latest/topics/merging.html as what
the parameters even are or how to use them.  The following only gets me
the results from user-data as if vendor-data never existed.


1. lxd
2. 0.7.9-153-g16a7302f-0ubuntu1~16.04.2

3. user-data
#cloud-config
users:
  user-bob
runcmd:
  - touch /user
merge_how: 'list(append)+dict(recurse_array)+str()'

   vendor-data
#cloud-config
users:
  vendor-bob
runcmd:
  - touch /vendor
merge_how: 'list(append)+dict(recurse_array)+str()'

4.

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

** Attachment added: "cloud-init.tar"
   https://bugs.launchpad.net/bugs/1711963/+attachment/4936039/+files/cloud-init.tar

-- 
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/1711963

Title:
  unable to merge vendor-data and user-data

Status in cloud-init:
  New

Bug description:
  I've tried different combinations, but there is a complete lack of
  instructions or guidance on
  http://cloudinit.readthedocs.io/en/latest/topics/merging.html as what
  the parameters even are or how to use them.  The following only gets
  me the results from user-data as if vendor-data never existed.

  
  1. lxd
  2. 0.7.9-153-g16a7302f-0ubuntu1~16.04.2

  3. user-data
  #cloud-config
  users:
    user-bob
  runcmd:
    - touch /user
  merge_how: 'list(append)+dict(recurse_array)+str()'

     vendor-data
  #cloud-config
  users:
    vendor-bob
  runcmd:
    - touch /vendor
  merge_how: 'list(append)+dict(recurse_array)+str()'

  4.

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


Follow ups