/srv/irclogs.ubuntu.com/2014/02/05/#cloud-init.txt

=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja
longdaysI have a cloud-config yaml file. It failed during instance initialization. Is there any way I can test the validity of that file from a bash shell after boot time?19:44
natorioussomething like http://yaml-online-parser.appspot.com/ ?20:20
harlowjalongdays u can just take http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/tools/validate-yaml.py to22:25
longdaysI was looking to see if I can run the file not during init. the yaml is valid22:46
longdayshope that makes sense22:47
longdaysI just want to debug locally without the long feedback loop of a reboot or respinup of a new machine22:47
harlowjalongdays ya, just pass the file to validate-yaml22:54
longdaysso installing the salt minion23:25
longdaysCalledProcessError: Command '['apt-get', '--option', 'Dpkg::Options::=--force-confold', '--assume-yes', 'install', 'salt']' returned non-zero exit status 10023:25
longdayshttp://pastebin.com/w6mP28Q423:27
longdayshttps://github.com/number5/cloud-init/blob/8a5e01d7484307a846430ecfe18873627e4b18d1/cloudinit/config/cc_salt_minion.py23:27
longdayslooking at that file23:27
longdaysand https://github.com/number5/cloud-init/blob/8a5e01d7484307a846430ecfe18873627e4b18d1/cloudinit/distros/debian.py23:27
longdayslooks like the -minion is getting stripped23:27
longdaysstill looking through the code though23:27
longdayslooks like a dated version on the default ubuntu ami in ec223:43
longdays12.0423:43

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