https://github.com/detjensrobert/flatpak-cookbook
Chef cookbook to manage Flatpak apps on a workstation
https://github.com/detjensrobert/flatpak-cookbook
chef chef-cookbook flatpak
Last synced: 4 months ago
JSON representation
Chef cookbook to manage Flatpak apps on a workstation
- Host: GitHub
- URL: https://github.com/detjensrobert/flatpak-cookbook
- Owner: detjensrobert
- License: mit
- Created: 2022-07-06T17:48:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-18T02:51:02.000Z (almost 3 years ago)
- Last Synced: 2023-03-06T17:18:38.164Z (over 2 years ago)
- Topics: chef, chef-cookbook, flatpak
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/flatpak
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `flatpak` cookbook
[](https://supermarket.chef.io/cookbooks/flatpak)
[](https://github.com/detjensrobert/flatpak-cookbook/actions?query=workflow%3Aci)
[](https://opensource.org/licenses/MIT)## Description
Chef cookbook for managing [Flatpak](https://github.com/flatpak/flatpak) applications.
## Notes
Currently, this cookbook only supports installing apps system-wide, and not per-user installs.
## Requirements
- Chef 15.3 or higher
## Platform
- CentOS 7+ (incl. Stream / Rocky / Alma)
- Amazon Linux 2
- Fedora
- Ubuntu 18.04+
- Debian 10+## Resources
- [`flatpak_install`](documentation/install.md) - Set up Flatpak
- [`flatpak_remote`](documentation/remote.md) - Configure remotes
- [`flatpak_app`](documentation/app.md) - Install applications## Minimal Example
```rb
flatpak_install 'example'flatpak_app 'org.clementine_player.Clementine'
flatpak_app 'org.mozilla.firefox'
```> **Note:** If the node is on a slow connection (e.g. < 1MB/s), the first `flatpak_app` install may time out and Chef will fail, as it will need to download the shared runtimes in addition to the application. If this happens, run Chef again and Flatpak will resume downloading where it left off.
## Contributing
PRs welcome!