puppet-cassandra icon indicating copy to clipboard operation
puppet-cassandra copied to clipboard

Added require package python-cql to dsc package in install.pp

Open indrbr01 opened this issue 12 years ago • 1 comments

Added require line to produce correct order, otherwise (for me at least) apt-get install dsc1.1 would fail due to missing the dependency python-cql

indrbr01 avatar Jun 04 '13 04:06 indrbr01

Thanks for your pull request!

It seems that at least the Debian packages dsc1.1 and dsc12 until version 1.2.1-1 declare python-cql as dependency:

$ apt-cache show dsc12=1.2.1-1
Package: dsc12
Priority: extra
Section: misc
Installed-Size: 2363
Maintainer: Ben Gamble <[email protected]>
Architecture: all
Source: dse
Version: 1.2.1-1
Depends: cassandra (= 1.2.1), python (>= 2.5), python-cql, python-support (>= 0.90.0)
Filename: pool/dsc12_1.2.1-1_all.deb
Size: 2221450
MD5sum: fc755e18910c4aaa124bed9f7f30aa2a
SHA1: f71a8f9f533da5599090913ddcecc18e211a6b6b
SHA256: 47e9901d0710e81304061bbbfbf1f4bdd32d317bcd0900e438e7711e64ce794b
Description: Apache Cassandra together with OpsCenter
 DataStax Community Edition is a free packaged distribution of the Apache
 Cassandra database.
 .
 This package depends on the other components of DSC.
Homepage: http://www.datastax.com/products/community

This dependency was dropped in more recent versions of dsc12:

$ apt-cache show dsc12=1.2.5-1
Package: dsc12
Priority: extra
Section: misc
Installed-Size: 40
Maintainer: DataStax Team <[email protected]>
Architecture: all
Source: dsc
Version: 1.2.5-1
Depends: cassandra (= 1.2.5), python (>= 2.5), python-support (>= 0.90.0)
Filename: pool/dsc12_1.2.5-1_all.deb
Size: 1308
MD5sum: ad23f2e3ff036ff60d1db94016572457
SHA1: d11f608ee182e9cb7f68633130d38e6b82db1e61
SHA256: 1f91ffe9958530ab89aebd90b406aa5ddcf220439b4c3b0c51b7f9f28e67ca03
Description: DataStax Community Edition is a free packaged distribution of the
 Apache Cassandra database.
 .
 This package depends on the other components of DSC.
Homepage: http://www.datastax.com/products/community

I'm not sure if this is intentional or if it's an error but I'd like to clarify that first before "hard coding" the dependency on python-cql in Package[dsc].

joschi avatar Jun 10 '13 14:06 joschi