Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genaumann/salt-acme.sh-formula
Salt - Acme.sh Formula
https://github.com/genaumann/salt-acme.sh-formula
acme acmesh salt saltstack saltstack-formula
Last synced: 10 days ago
JSON representation
Salt - Acme.sh Formula
- Host: GitHub
- URL: https://github.com/genaumann/salt-acme.sh-formula
- Owner: genaumann
- License: apache-2.0
- Created: 2023-12-23T15:30:54.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-09T01:37:23.000Z (8 months ago)
- Last Synced: 2024-10-11T19:41:18.361Z (about 1 month ago)
- Topics: acme, acmesh, salt, saltstack, saltstack-formula
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Salt acme.sh Formula
![GitHub release](https://img.shields.io/github/v/release/genaumann/salt-acme.sh-formula)
![lint][lint_badge]
![test][test_badge]Interacts with [acme.sh](https://acme.sh):
- install acme.sh
- issue certificates
- renew certificatesThe following modes are supported:
- standalone
- webroot
- dns## General notes
See the full [SaltStack Formulas installation and usage instructions][install].
See [`example.yml`](example.yml) on how to configure the formula.
If you want to use this formula, please pay attention to the [`FORMULA`](FORMULA) file and/or `git tag`,
which contains the currently released version.
This formula is versioned according to [Semantic Versioning](http://semver.org/).## Available states
- [`acme_sh`](acme_sh/init.sls)
- [`acme_sh.install`](acme_sh/install.sls)
- [`acme_sh.issue`](acme_sh/issue.sls)### `acme_sh`
Includes the following states:
- `acme_sh.install`
- `acme_sh.issue`### `acme_sh.install`
Installs `acme.sh`.
### `acme_sh.issue`
Issues or renews certificate with `acme.sh`.
## Available execution modules
- [`acme_sh`](docs/module_acme_sh.md)
## Available state modules
- [`acmesh`](docs/state_acme_sh.md)
## Testing
Linux testing is done with `kitchen-salt`.
All tests and lint jobs are executed in GitHub Actions.
### Requirements
You can test the formula locally after installing the following requirements.
- vagrant
- VirtualBox
- Ruby
- bundler### Run Test
```bash
bundle install
kitchen list # list all available test instances
kitchen test
```[install]: https://docs.saltproject.io/en/latest/topics/development/conventions/formulas.html
[lint_badge]: https://github.com/genaumann/salt-acme.sh-formula/actions/workflows/lint.yml/badge.svg?branch=main
[test_badge]: https://github.com/genaumann/salt-acme.sh-formula/actions/workflows/salt-kitchen.yml/badge.svg?branch=main