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

support RHEL #2

Open
danehammer opened this issue Oct 9, 2013 · 2 comments
Open

support RHEL #2

danehammer opened this issue Oct 9, 2013 · 2 comments

Comments

@danehammer
Copy link

I've already got this work started, but I had a question so I thought I'd start with where I am. I want to converge what we have grown in-house with this cookbook, and first thing blocking me is redhat support.

I see you have .debs in /debs, and I took a similar approach, creating an /rpms folder -- I'm not finding anything in the chef doc on how it would pick up those files. Are you just source controlling them for your convenience? How are you getting chef to use those files as the packages it installs with the package provider?

@bluSch
Copy link

bluSch commented Feb 24, 2014

Using packages in this manner is typically fine for development, especially if you have a poor connection; but for general use, packages available via the system's package manager should be preferred. You can install rpms with the rpm_package resource. Typically you would do something like:

cookbook_file File.join(Chef::Config[:file_cache_path], 'my_package.rpm')
rpm_package File.join(Chef::Config[:file_cache_path], 'my_package.rpm')

where the rpm is located at my_cookbook/files/default/my_package.rpm.

I'll be building a centos compatible version of this that you may be interested in, but this cookbook doesn't seem to be being maintained, and there are issues with the licensing, so I'll be building a separate cookbook.

@danehammer
Copy link
Author

@bluSch Can you let me know where you land that? I would be very interested in contributing to and maintaining an open source storm cookbook

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

No branches or pull requests

2 participants