terraform icon indicating copy to clipboard operation
terraform copied to clipboard

Linux version awareness

Open cespare opened this issue 11 years ago • 4 comments

Right now there's Lucid-specific stuff in Terraform. We should figure out what we're running on and then have a mechanism for doing different things depending on what Ubuntu it is. We should also fail if we don't now how to handle the version we're running on.

cespare avatar Mar 25 '13 18:03 cespare

What specifically is lucid dependent?

philc avatar Mar 25 '13 19:03 philc

The 'git-core' package is just called 'git' in later Ubuntu versions.

There's also no guarantee that the other package names ("curl", "build-essential", "libxslt1-dev", "libxml2-dev", "libssl-dev") will remain valid in future releases.

cespare avatar Mar 27 '13 18:03 cespare

For now, I'm just going to change git-core to git, I think. Even if you're on Lucid, you could get around this by installing the git ppa or just using an older Terraform version.

cespare avatar Mar 27 '13 18:03 cespare

I pushed a prerelease version of the gem (0.0.7.rc1) with this change. @philc let me know what you think.

cespare avatar Mar 27 '13 18:03 cespare