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

Create /etc/sysconfig if not exist #65

Closed
wants to merge 1 commit into from

Conversation

lyrixx
Copy link
Contributor

@lyrixx lyrixx commented Oct 28, 2014

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling eabeaae on lyrixx:fix-dir-creation into 1177d9b on johnbellone:master.

@johnbellone
Copy link
Contributor

I am not certain this is the best option. I don't personally have a problem with it, but usually these files are in /etc/default for Debian and /etc/sysconfig for RHEL IIRC.

@johnbellone
Copy link
Contributor

After reading some documentation it looks like that this is only on RHEL distributions. Perhaps we should symlink it for Debian?

link '/etc/sysconfig' do
  to '/etc/default'
  only_if node['platform_family'] == 'debian'
  not_if { ::Dir.exist?('/etc/sysconfig') }
end

@lyrixx
Copy link
Contributor Author

lyrixx commented Oct 28, 2014

Or we can update the init to use the correct folder?

@lyrixx
Copy link
Contributor Author

lyrixx commented Oct 29, 2014

Closing in favor of #68

@lyrixx lyrixx closed this Oct 29, 2014
@lyrixx lyrixx deleted the fix-dir-creation branch October 29, 2014 09:27
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants