=== harlowja is now known as harlowja_away | ||
=== harlowja_away is now known as harlowja | ||
longdays | I 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 |
---|---|---|
natorious | something like http://yaml-online-parser.appspot.com/ ? | 20:20 |
harlowja | longdays u can just take http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/tools/validate-yaml.py to | 22:25 |
longdays | I was looking to see if I can run the file not during init. the yaml is valid | 22:46 |
longdays | hope that makes sense | 22:47 |
longdays | I just want to debug locally without the long feedback loop of a reboot or respinup of a new machine | 22:47 |
harlowja | longdays ya, just pass the file to validate-yaml | 22:54 |
longdays | so installing the salt minion | 23:25 |
longdays | CalledProcessError: Command '['apt-get', '--option', 'Dpkg::Options::=--force-confold', '--assume-yes', 'install', 'salt']' returned non-zero exit status 100 | 23:25 |
longdays | http://pastebin.com/w6mP28Q4 | 23:27 |
longdays | https://github.com/number5/cloud-init/blob/8a5e01d7484307a846430ecfe18873627e4b18d1/cloudinit/config/cc_salt_minion.py | 23:27 |
longdays | looking at that file | 23:27 |
longdays | and https://github.com/number5/cloud-init/blob/8a5e01d7484307a846430ecfe18873627e4b18d1/cloudinit/distros/debian.py | 23:27 |
longdays | looks like the -minion is getting stripped | 23:27 |
longdays | still looking through the code though | 23:27 |
longdays | looks like a dated version on the default ubuntu ami in ec2 | 23:43 |
longdays | 12.04 | 23:43 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!