Prepare for GitHub migration
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci / release-snapshot (pull_request) Failing after 10m43s
ci / go (pull_request) Failing after 10m44s
ci / actions (pull_request) Failing after 10m45s
ci / ci (pull_request) Failing after 10m45s
ci / goreleaser-check (pull_request) Has been cancelled

This commit is contained in:
2026-11-25 23:57:11 +11:00
parent 72c4105c0f
commit 8c03ae3b75
21 changed files with 511 additions and 683 deletions
+3
View File
@@ -52,6 +52,9 @@ func main() {
if cmd.Flags().Changed("url") {
cfg.PuppetDBURL = pdbURL
}
if err := cfg.Require("puppetdb_url", "puppetboard_url"); err != nil {
return err
}
loc := time.Local
if tz != "" {
+3
View File
@@ -38,6 +38,9 @@ func main() {
if cmd.Flags().Changed("puppetboard-url") {
cfg.PuppetboardURL = boardURL
}
if err := cfg.Require("puppetboard_url"); err != nil {
return err
}
hosts := puppet.ReadHosts(os.Stdin, args)
if len(hosts) == 0 {
return fmt.Errorf("no hosts given (pass as arguments or pipe node-lookup output)")