Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to improve Syslog daemon detection. #26

Merged
merged 4 commits into from Aug 31, 2013
Merged

Update to improve Syslog daemon detection. #26

merged 4 commits into from Aug 31, 2013

Conversation

@ivangonekrazy
Copy link
Contributor

@ivangonekrazy ivangonekrazy commented Aug 30, 2013

No description provided.

♥ Ivan Tam ♥ added 4 commits Aug 30, 2013
We don't need to keep adding 1 to an index var. We can just have
`enumerate()` start at 1 instead of 0
* No longer need to figure out distro before we decide to run
  `dpkg` or `rpm` to find which version of a daemon we are running

* Add test for replacement method that detects the syslog daemon.
rhigdon pushed a commit that referenced this pull request Aug 31, 2013
Update to improve Syslog daemon detection.
@rhigdon rhigdon merged commit e792fe6 into master Aug 31, 2013
for i, version in enumerate(current_environment['syslog_versions']):
line = "\t%d. %s(%s)" % (i + 1, version[0], version[1])
Logger.printLog(line, print_comp = True)
for i, version in enumerate(current_environment['syslog_versions'], 1):

This comment has been minimized.

@MichaelBlume

MichaelBlume Aug 31, 2013
Contributor

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.