Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drnic/ey-emerge
Several Definitions for making using keyworded packages easier
https://github.com/drnic/ey-emerge
Last synced: 24 days ago
JSON representation
Several Definitions for making using keyworded packages easier
- Host: GitHub
- URL: https://github.com/drnic/ey-emerge
- Owner: drnic
- Created: 2011-11-16T07:02:12.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-30T23:22:11.000Z (over 13 years ago)
- Last Synced: 2023-04-10T17:09:47.530Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 73.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
= DESCRIPTION:
Emerge Cookbook.
This cookbook holds 2 definitions, one called enable_package and one called update_file. Between these two definitions it enables you to 'unmask' a package in Chef and then install an 'masked' version of said package.
= USAGE:
For example if you want to install Libxml 2.7.6 on the AppCloud you would use the following as a recipe.
enable_package "dev-libs/libxml2" do
version "2.7.6"
endpackage "dev-libs/libxml2" do
version "2.7.6"
action :install
end= ALTERNATIVE USAGE:
enable_package "dev-lang/ruby" do
version "1.8.7_p299"
endpackage_use "dev-lang/ruby" do
flags "threads"
endpackage "dev-lang/ruby" do
version "1.8.7_p299"
action :install
end= LEGEND:
Gentoo uses the names 'mask' and 'unmask' terminology between stable and unstable. This is done in /etc/portage/package.keywords/local and we automate this for you so you don't have to know about ~x86 or ~amd64.