rpmbuilder/rpms/puppet-initial/resources/scripts/postinstall.sh
Ben Vincent e09d0c4bc6 chore: update build tool, puppet-initial
- update build tool with github_release_pattern
- update puppet-initial to reduce impact on upgrades
2026-01-17 15:18:26 +11:00

7 lines
160 B
Bash
Executable File

#!/usr/bin/env bash
# Only run on fresh install, not upgrade
if [ "$1" -eq 1 ]; then
systemctl daemon-reload
systemctl enable puppet-initial.service
fi