cookbook 'emacs', '~> 1.0.0'
emacs
(19) Versions
1.0.0
-
Follow9
Provides the emacs_package resource for installing Emacs
cookbook 'emacs', '~> 1.0.0', :supermarket
knife supermarket install emacs
knife supermarket download emacs
emacs cookbook
Install Emacs from the platform package manager with the emacs_package custom resource.
Breaking Change
Upgrading from older versions of this cookbook is a breaking change. The
custom-resource release removes the top-level recipes/ and attributes/
interface, so existing recipe[emacs] usage and node['emacs']['packages']
attribute overrides are no longer the supported configuration path.
Before promoting this version, update wrapper cookbooks, roles, and Policyfiles
to use the emacs_package resource documented in [migration.md](migration.md).
Requirements
- Chef Infra Client 15.3+
Supported Platforms
- AlmaLinux 9+
- Debian 12+
- Fedora
- FreeBSD
- Red Hat Enterprise Linux 9+
- Ubuntu 22.04+
- Arch Linux
This cookbook relies on distro package repositories. See [LIMITATIONS.md](LIMITATIONS.md) for
package naming and repository constraints.
Resource
emacs_package
Installs or removes Emacs packages.
Properties
-
packages- String or Array of package names to manage. Defaults to a platform-specific package list.
Default package mapping:
- Debian/Ubuntu:
emacs-nox - Fedora:
emacs-nw - Other supported platforms:
emacs
Actions
-
:install- Install Emacs packages -
:remove- Remove Emacs packages
Usage
Install the default Emacs package for the current platform:
emacs_package 'default'
Override the package list when a platform uses a different repository layout:
emacs_package 'default' do packages %w(emacs emacs-common-non-dfsg) end
Remove Emacs packages:
emacs_package 'default' do action :remove end
For upgrades from the legacy recipe and attribute interface, follow
[migration.md](migration.md).
Resource-specific documentation is available in [documentation/emacs_package.md](documentation/emacs_package.md).
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Changelog
1.0.0 (2026-04-27)
⚠ BREAKING CHANGES
- migrate emacs to custom resource (#48)
Features
0.11.12 (2025-10-15)
Bug Fixes
0.11.8 - 2023-10-31
Fix metadata for supermarket
0.11.3 - 2023-02-14
- Remove delivery folder
0.11.2 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
0.11.0 (2020-05-05)
- resolved cookstyle error: metadata.rb:4:19 refactor:
ChefSharing/InvalidLicenseString - resolved cookstyle error: metadata.rb:8:1 refactor:
ChefRedundantCode/RecipeMetadata - resolved cookstyle error: recipes/default.rb:2:1 refactor:
ChefStyle/CommentFormat - resolved cookstyle error: recipes/default.rb:5:1 refactor:
ChefStyle/CommentFormat
0.10.0
- Clean up the attributes
- Use platform family for the conditional
- Default to Emacs 24 on Debian
- Update test harness
0.9.0
- [COOK-2710] - use default action for package
0.8.4
- [COOK-1601] - Install Emacs without X support by default on Arch linux
0.8.2
- [COOK-551] - FreeBSD Support
- [COOK-839] - install non-X11 package by setting an attribute
0.7.0
- Initial public release
Collaborator Number Metric
1.0.0 passed this metric
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number