Created
October 10, 2012 00:47
-
-
Save prasanthj/3862471 to your computer and use it in GitHub Desktop.
Patch for making vertica getting installed on Ubuntu 12.04 (Precise)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py.orig 2012-10-09 20:43:30.154357382 -0400 | |
| +++ /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py 2012-10-09 20:39:10.490355807 -0400 | |
| @@ -149,7 +149,12 @@ class SystemProfileFactory: | |
| opsys = DBinclude.OS_DEBIAN | |
| return opsys, host | |
| - raise UnsupportedOSException("(%s) This version of Debian is unsupported." % host) | |
| + (status, res) = ssh.execute("grep \"wheezy\" /etc/debian_version", hide=True) | |
| + if (res[0] == '0'): | |
| + opsys = DBinclude.OS_DEBIAN | |
| + return opsys, host | |
| + | |
| + raise UnsupportedOSException("(%s) This version of Debian/Ubuntu is unsupported." % host) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment