summaryrefslogtreecommitdiff
path: root/cloud-init-cfg.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-10-27 21:38:28 -0400
committerScott Moser <smoser@ubuntu.com>2011-10-27 21:38:28 -0400
commitc6b33abbfb97da1358c3daff2a50595bb8da0f59 (patch)
tree0f66e2cfe6ff9d99a32eb1b9f2cb3f150044563d /cloud-init-cfg.py
parent6fc476625714c56809eacd0df7634dc24b0a4ba3 (diff)
downloadvyos-cloud-init-c6b33abbfb97da1358c3daff2a50595bb8da0f59.tar.gz
vyos-cloud-init-c6b33abbfb97da1358c3daff2a50595bb8da0f59.zip
Replace static dict mapping version to packages with a method (LP: #848932)
Previously, there was a 'ruby_packages' dictionary that mapped the ruby version (1.8, 1.9, 1.9.1) to a list of packages that would need to be installed to get a functional gems. This replaces that with a method that is more likely to support future versions without requiring updates to cloud-init. It is not identical output as before. The changes are: * do not include 'ruby' in the case of 1.8, but rather 'ruby1.8' This is because the default could change, and 'ruby' would depend on a different default version. * do not explicitly list 'libruby-<version>' as that is a dependenency of 'ruby<version>' * End result is for any 'version' != 1.8, you'll get the following installed ruby<version> ruby<version>-dev LP: #848932
Diffstat (limited to 'cloud-init-cfg.py')
0 files changed, 0 insertions, 0 deletions