Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sous-chefs/emacs
Development repository for the emacs cookbook
https://github.com/sous-chefs/emacs
chef chef-cookbook chef-resource emacs hacktoberfest managed-by-terraform
Last synced: about 1 month ago
JSON representation
Development repository for the emacs cookbook
- Host: GitHub
- URL: https://github.com/sous-chefs/emacs
- Owner: sous-chefs
- License: apache-2.0
- Created: 2012-03-14T18:13:23.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T01:47:01.000Z (11 months ago)
- Last Synced: 2024-04-14T00:52:27.376Z (8 months ago)
- Topics: chef, chef-cookbook, chef-resource, emacs, hacktoberfest, managed-by-terraform
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/emacs
- Size: 77.1 KB
- Stars: 10
- Watchers: 26
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Description
Installs the "emacs" package to install the worlds most flexible, customizable text editor.
## Requirements
## Platform
* Debian/Ubuntu
* Red Hat/CentOS/Scientific/Fedora/Arch
* FreeBSDShould work on any platform that has a default provider for the `package` resource and a package named `emacs` avaialble in the default package manager repository.
On FreeBSD, Chef version 0.10.6 is required for fixes to the ports package provider.
## Attributes
* `node['emacs']['packages']` - An array of Emacs package names to install. Defaults to the "No X11" name based on platform and falls back to "emacs".
## Recipes
### default
Installs the emacs package.
### Usage
Simply add `recipe[emacs]` to the run list of a base role that gets applied to all systems. Modify the `node['emacs']['packages']` attribute if the default package name for your platform is unavailable or incorrect (see `attributes/default.rb`). You should modify this with an attribute in a role applied to the node. For example:
name "base"
description "base role is applied to all nodes"
run_list("recipe[emacs]")
default_attributes(
"emacs" => {
"packages" => ["emacs-nox"]
}
)As this is an array you can append other emacs-related packages, such as to make configuration modes available.
## Contributors
This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false)
### Backers
Thank you to all our backers!
![https://opencollective.com/sous-chefs#backers](https://opencollective.com/sous-chefs/backers.svg?width=600&avatarHeight=40)
### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
![https://opencollective.com/sous-chefs/sponsor/0/website](https://opencollective.com/sous-chefs/sponsor/0/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/1/website](https://opencollective.com/sous-chefs/sponsor/1/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/2/website](https://opencollective.com/sous-chefs/sponsor/2/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/3/website](https://opencollective.com/sous-chefs/sponsor/3/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/4/website](https://opencollective.com/sous-chefs/sponsor/4/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/5/website](https://opencollective.com/sous-chefs/sponsor/5/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/6/website](https://opencollective.com/sous-chefs/sponsor/6/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/7/website](https://opencollective.com/sous-chefs/sponsor/7/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/8/website](https://opencollective.com/sous-chefs/sponsor/8/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/9/website](https://opencollective.com/sous-chefs/sponsor/9/avatar.svg?avatarHeight=100)