https://github.com/linuxpatch/linuxpatch-saltstack
SaltStack Module for linuxpatch.com's agent
https://github.com/linuxpatch/linuxpatch-saltstack
Last synced: about 1 year ago
JSON representation
SaltStack Module for linuxpatch.com's agent
- Host: GitHub
- URL: https://github.com/linuxpatch/linuxpatch-saltstack
- Owner: linuxpatch
- Created: 2024-06-04T11:29:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T15:59:13.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T03:41:51.275Z (about 1 year ago)
- Language: SaltStack
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SaltStack Module: Install and Manage linuxpatch.com Agent and Service
## Description
This SaltStack state module automates the process of downloading, executing, and cleaning up an installation script from [linuxpatch.com](https://linuxpatch.com). Additionally, it ensures that the `linuxpatch-agent` service is running and enabled at startup. The script is only executed if the file `/opt/linuxpatch/bin/linuxpatch` does not exist.
## Prerequisites
- SaltStack installed on the master and minion nodes.
- Properly configured pillar file with the API key for [linuxpatch.com](https://linuxpatch.com).
## Pillar Configuration
Create a pillar file (e.g., `linuxpatch.sls`) with the following content:
```yaml
linuxpatch:
lp_key: 'your_lp_key_here' # Replace with your actual API key
```