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

improve suse 11 support for service resource #1007

Merged
merged 3 commits into from
Sep 5, 2016
Merged

Conversation

chris-rock
Copy link
Contributor

fixes #997

if !os.linux?
STDERR.puts "\033[1;33mTODO: Not running #{__FILE__} because we are not on linux.\033[0m"
unless ['ubuntu', 'centos', 'amazon', 'fedora'].include?(os[:name])
STDERR.puts "\033[1;33mTODO: Not running #{__FILE__} because we are not on ubuntu, centos, amazon or fedora.\033[0m"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a tiny one: how about

supported = %w{ubuntu centos amazon fedora}
unless supported.include?(os[:name])
  STDERR.puts " ....   #{supported.join(', ')}...."

@arlimus
Copy link
Contributor

arlimus commented Sep 5, 2016

Some love for Suse, thank you @chris-rock !!

@arlimus arlimus merged commit 482a48c into master Sep 5, 2016
@arlimus arlimus deleted the chris-rock/suse-11 branch September 5, 2016 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suse Linux Enterprise Server 11 SPX is failing for describe service resource.
3 participants