/srv/irclogs.ubuntu.com/2016/05/17/#cloud-init.txt

ccardAre there any tools for validating cloud-init syntax?07:45
ccardI have seen examples using str_replace, where the params are given values using something like "__value__: { get_param: some_parameter }", but I'd like to do something like "__value__: { str_split: ['.', { get_param: some_parameter }, 0] }".08:45
ccardHowever, when I try this I get the error "ERROR: Property error : cloud_init: cloud_config "str_replace" params must be strings or numbers"08:46
=== rangerpbzzzz is now known as rangerpb
larsksThat looks like Heat template syntax, actually.  Cloud-init doesn't have functions like that.15:50
larsksccard: you probably want to ask over on #heat.15:51
ccardlarsks: yes, I realised that this morning :) It turns out I need OpenStack kilo at least :(15:55
larsksGlad you're all set.  Or at least pointed in the right direction.15:55
ccardlarsks: another question: how do I get cloud-init to recognise a "network-interfaces" section, to define the network devices? I think I need to get it to use a DataSourceNoCloudNet data source, but my instance is only using a DataSourceConfigDriveNet data source.17:29
larsksccard: take a look at https://bugzilla.redhat.com/show_bug.cgi?id=1235602#c317:57
=== jgrimm is now known as jgrimm-afk
smoserccard, its buggy.18:58
smoserworking on fixing18:58
=== jgrimm-afk is now known as jgrimm
mfischharlowja: smoser is launchpad still the right/current place for the cloud-init source tree20:03
mfischI'd like to make a couple doc fixes20:03
smosermfisch, yes20:05
mfischthx20:06
mfischlets see if I still remember how to use bzr ;)20:06
harlowjasmoser will add git eventually :-P20:07
smoseryes.20:07
harlowjareminds me, i gotta destroy the 0.7x branch on openstack/cloudinit20:07
=== rangerpb is now known as rangerpbzzzz
mfischI even got it working21:07
mfischhttps://code.launchpad.net/~mfisch/cloud-init/doc-fixes/+merge/29497621:07
harlowjawoot :-P21:08
mfischI worked at C for 2 years but apparently forgot it all, had to google21:08
harlowja:)21:09

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!