Commit Graph
29 Commits
Author SHA1 Message Date
Matthew Jones b0f4dc06c4 Fix fail/skip scenario for scan service jobs
In the case where no services could be found we'll set the status as
skipped instead of failed
2016-05-09 15:30:56 -04:00
AlanCoding cd0b9655db make sysv and initctl non-exclusive 2016-05-02 12:29:03 -04:00
AlanCoding 44295c06b1 fix parsing error with Ubuntu14.04 2016-02-02 16:14:50 -05:00
AlanCoding 0696e59e32 change to warning behavior 2016-01-29 16:27:46 -05:00
AlanCoding 657f941ea0 RHEL5 compatibility and handling of error scenarios 2016-01-26 10:54:41 -05:00
AlanCoding 3c8456d77f fix 2nd instance of in-line conditional for RHEL5 scan issue 2016-01-19 12:45:16 -05:00
AlanCoding f956ec15fa Add special case to scan_services that fixes SLES11 scan failure issue 2016-01-19 09:54:25 -05:00
Matthew Jones c442f4923b Fix old python support in scan_services
Python 2.4/RHEL5 doesn't support in-line conditionals so this breaks it
out into a normal multi-line condition
2016-01-12 11:26:55 -05:00
Matthew Jones 5d3da1460f Fixing up flake8 2015-11-30 11:13:37 -05:00
Matthew Jones a1fbee4fa0 Refactor scan_packages for os detection
* Use setup facts ansible_os_family for os family detection now.  Add
  support for Suse and it's ilk (which has a pretty ugly OS family
  implementation
2015-11-24 14:19:09 -05:00
Matthew Jones d95470066c Remove stray debugging lines 2015-11-24 12:35:39 -05:00
Matthew Jones 772b7d201e Add SUSE, OpenSuse and Debian to scan_packages
Also strip the output of get_distribution() since the suse variants seem
to have extra whitespace in the string output.
2015-11-24 12:15:37 -05:00
Matthew Jones e69fdfa79b Improvements to the package scanner
* Support Amazon (because it's RH based)
* Switch to using module_utils's get_distribution() method
  for more efficient distro detection
2015-11-24 11:20:27 -05:00
Chris Meyers d076835051 for scan_services against RH machines. Do not depend on US language 2015-06-29 11:26:58 -04:00
Matthew Jones d76ee309c6 Allo the file fact scanner to take a list of paths instead of just one path 2015-06-03 11:36:50 -04:00
James Laska 7064c9bed4 Additional flake8 cleanup
The flake8 command was identifying several warnings and errors. This change
addresses the flake8 warnings and updates the setup.cfg with additional
exclusions. If accepted, jenkins will be updated to use the flake8 command,
rather than using the django_jenkins plugin. This will expedite jenkins
testing.
2015-05-20 20:33:22 -04:00
Matthew Jones 2e040e9de3 Update scan facts to include the service scanner which was inexplicably
missing, update scan_packages to match the footprint of
scan_services (makes searching easier)
2015-05-05 14:46:28 -04:00
Matthew Jones 39d0f91fdb Merge pull request #117 from matburt/scan_files_implementation
Scan files implementation
2015-04-03 15:37:34 -04:00
Matthew Jones c0364b5bd1 Support recursive mode on the file scanner 2015-03-27 16:51:03 -04:00
Matthew Jones e282a2045c Add some documentation to the header for the file scanner 2015-03-26 11:37:20 -04:00
Matthew Jones cb8b5f3025 Add some header documentation for the service scanning module 2015-03-26 10:51:46 -04:00
Matthew Jones b3c24279ad Initial file scanning module 2015-03-25 16:25:32 -04:00
Matthew Jones 4252845b0d Make the service scanner more closely match the package scanner output 2015-03-25 13:23:55 -04:00
Matthew Jones 5f66fbb7c4 Include some more systemd information in the data structure 2015-03-23 12:08:42 -04:00
Matthew Jones dd44c0a0f2 Initial implementation of the service scanner module 2015-03-19 13:21:45 -04:00
Matthew Jones 987a898380 Small adjustment for flake8 passage 2015-03-05 15:44:50 -05:00
Matthew Jones b179517564 "source" for apt 2015-02-25 13:44:54 -05:00
Matthew Jones 3615f8a634 Update package fact format after discussions with core team 2015-02-25 13:31:14 -05:00
Matthew Jones fed4262ee2 Some light implimentation details for basic fact caching and collection 2015-02-19 11:27:40 -05:00