Commit Graph

92977 Commits

Author SHA1 Message Date
Bo Maryniuk
ee18a200d1 Add unit test for get_ext_tops config verification 2018-04-06 17:38:12 +02:00
Bo Maryniuk
451327da88 Do not use list of dicts for namespaces, just dict for namespaces. 2018-04-06 17:38:12 +02:00
Bo Maryniuk
a898db3770 Add unit test for get_ext_tops module configuration validation 2018-04-06 17:38:12 +02:00
Bo Maryniuk
c1a2bd740a Update warning logging information 2018-04-06 17:38:12 +02:00
Bo Maryniuk
bc99686d66 Mock os.path.isfile function 2018-04-06 17:38:12 +02:00
Bo Maryniuk
80f125d528 Add unit test for dependencies check python version lock (inherently) 2018-04-06 17:38:12 +02:00
Bo Maryniuk
63ddd351bd Bugfix: report into warning log module name, not its config 2018-04-06 17:38:12 +02:00
Bo Maryniuk
808ffd37bc Add unit test for get_ext_tops checks the python locked interepreter value 2018-04-06 17:38:12 +02:00
Bo Maryniuk
47ffb3bdf2 Check python interpreter lock version 2018-04-06 17:38:12 +02:00
Bo Maryniuk
27b580951c Add unit test for get_ext_tops checks interpreter configuration 2018-04-06 17:38:12 +02:00
Bo Maryniuk
ad86be96c5 Refactor unit test for get_ext_tops 2018-04-06 17:38:12 +02:00
Bo Maryniuk
19ca258a82 Postpone inheritance implementation 2018-04-06 17:38:12 +02:00
Bo Maryniuk
cad7093a31 Add unit test for missing dependencies on get_ext_tops 2018-04-06 17:38:12 +02:00
Bo Maryniuk
060d00f995 Add unit test case for the Salt SSH parts 2018-04-06 17:38:12 +02:00
Bo Maryniuk
a3cddc3bea Bugfix: ZFS modules (zfs, zpool) crashes on non-ZFS systems 2018-04-06 17:38:12 +02:00
Bo Maryniuk
c4bd2920c6 Lintfix: PEP8 an empty line required 2018-04-06 17:38:12 +02:00
Bo Maryniuk
6d4ca525b1 Flatten the archive extension choice 2018-04-06 17:38:12 +02:00
Bo Maryniuk
fffa86cd75 Add debug logging prior to the thin archive removal 2018-04-06 17:38:12 +02:00
Bo Maryniuk
dc7a1cc293 Move compression fall-back operation 2018-04-06 17:38:12 +02:00
Bo Maryniuk
c74a6389ad Fix a system exit error message 2018-04-06 17:38:11 +02:00
Bo Maryniuk
b917138a93 Compress thin.zip if zlib is available 2018-04-06 17:38:11 +02:00
Bo Maryniuk
56bc7a58d9 Update salt-call script so it swaps the namespace according to the configuration 2018-04-06 17:38:11 +02:00
Bo Maryniuk
d39f3a173c Implement packaging an alternative version 2018-04-06 17:38:11 +02:00
Bo Maryniuk
896c78bd3e Add debug logging 2018-04-06 17:38:11 +02:00
Bo Maryniuk
cc59b3149a Add deps as a list, instead of a map 2018-04-06 17:38:11 +02:00
Bo Maryniuk
ea6580aa70 Implement namespace selector, based on the current Python interpreter version 2018-04-06 17:38:11 +02:00
Bo Maryniuk
c457685611 Use new signature of the get call 2018-04-06 17:38:11 +02:00
Bo Maryniuk
c988d2de3f Implement get namespaces inclusion to the salt-call script on the client machine 2018-04-06 17:38:11 +02:00
Bo Maryniuk
d5b605c9de Update docstring to the salt-call generator 2018-04-06 17:38:11 +02:00
Bo Maryniuk
8005cc82af Change signature to pass the extended configuration to the thin generator 2018-04-06 17:38:11 +02:00
Bo Maryniuk
b92f0c6e18 Add config-based external tops gatherer 2018-04-06 17:38:11 +02:00
Bo Maryniuk
c17950a8fd Add logging on remove failure on thin.tgz archive 2018-04-06 17:38:11 +02:00
Bo Maryniuk
96ec847f60 Generate salt-call source, based on conditions 2018-04-06 17:38:11 +02:00
Bo Maryniuk
8fb1b500fa Add logging on the error, when Python-2 version cannot be detected properly 2018-04-06 17:38:11 +02:00
Bo Maryniuk
35a614fae5 Lintfix: PEP8 ident 2018-04-06 17:38:11 +02:00
Bo Maryniuk
37b1888352 Remove stub that was previously moved upfront 2018-04-06 17:38:11 +02:00
Bo Maryniuk
76663d6aa7 Simplify shell cmd to get the version on Python 2.x 2018-04-06 17:38:11 +02:00
Bo Maryniuk
606a9146a6 Bail-out immediately if <2.6 version detected 2018-04-06 17:38:11 +02:00
Bo Maryniuk
80b8a4f60c Flatten error message string 2018-04-06 17:38:11 +02:00
Michael Calmer
08f556c7c3 fix searching for python versions 2018-04-06 17:38:11 +02:00
Bo Maryniuk
70e7a7006f Use common shared directory for compatible libraries 2018-04-06 17:38:11 +02:00
Bo Maryniuk
d5f6777fc4 Add proper error handler, unmuting exceptions during top collection 2018-04-06 17:38:11 +02:00
Bo Maryniuk
7fc1dbbce3 Add basic shareable module classifier 2018-04-06 17:38:10 +02:00
Michael Calmer
c822ba2ed0 find working executable 2018-04-06 17:38:10 +02:00
Bo Maryniuk
18844163ae Simplify tops gathering, bugfix alternative to Py2 2018-04-06 17:38:10 +02:00
Bo Maryniuk
d3dcb5c19a Add external shell-callable function to collect tops 2018-04-06 17:38:10 +02:00
Bo Maryniuk
22bcda5e86 Refactor archive creation flow 2018-04-06 17:38:10 +02:00
Bo Maryniuk
819281fdcb Reset default compression, if unknown is passed 2018-04-06 17:38:10 +02:00
Bo Maryniuk
cf205af99a Update log debug message for tops collector 2018-04-06 17:38:10 +02:00
Bo Maryniuk
d7bb3b1735 Remove pre-caution 2018-04-06 17:38:10 +02:00