Skip to content

Scheduled org-wide puppetsync runs (continuous baseline enforcement) #56

Description

@silug

Goal

Run puppetsync on a schedule (e.g. a cron-triggered GHA workflow) against the whole org, so the baseline is continuously enforced instead of enforced in occasional hand-driven sessions.

Prerequisites

This is the capstone on top of:

Together those make "safe to run when nothing needs changing" true, which is exactly the property a scheduled run needs.

Sketch

  • GHA workflow on this repo with a schedule: trigger (plus workflow_dispatch: for manual runs), running the sync plan against the org-wide dynamic inventory.
  • Auth via a bot account token; pushes over HTTPS with the token (the push changes using HTTPS basic auth + GitHub token (CI friendly) stretch goal already noted in plans/init.pp).
  • The run's three-bucket summary (PR'd / unchanged / failed) becomes the job output; failures should be loud (issue comment, Slack, or failed job).

Effectively this turns puppetsync into the same kind of continuously-running fleet manager that Renovate already is for dependencies, with the two dividing the labor: Renovate owns versions, puppetsync owns structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions