Skip to content

Commit

Permalink
Initialize the repo
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Plourde <[email protected]>
  • Loading branch information
palourde committed Feb 5, 2020
1 parent 6a45ccb commit 2bbd00b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
builds:
# List of builds
- # First Build
env:
- env:
- CGO_ENABLED=0
main: main.go
ldflags: '-s -w -X github.com/sensu-community/sensu-plugin-sdk/version.build={{.Version}} -X github.com/sensu-community/sensu-plugin-sdk/version.commit={{.Commit}} -X github.com/sensu-community/sensu-plugin-sdk/version.date={{.Date}}'
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright {{ .CopyrightYear }} {{ .CopyrightHolder }}
Copyright 2020 Sensu Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# {{ .Name }}
# sensu-puppet-handler

Deregister Sensu entities if they no longer have an associated Puppet node. The
puppet handler requires access to a SSL truststore and keystore, containing a
valid (and whitelisted) Puppet certificate, private key, and CA. The local
Puppet agent certificate, private key, and CA can be used.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/{{ .GithubUser }}/{{ .GithubProject }}
module github.com/sensu/sensu-puppet-handler

go 1.13

Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ type ConfigOptions struct {
var (
handlerConfig = HandlerConfig{
PluginConfig: sensu.PluginConfig{
Name: "{{ .Name }}",
Short: "{{ .Description }}",
Name: "sensu-puppet-handler",
Short: "Deregister Sensu entities without an associated Puppet node",
Timeout: 10,
Keyspace: "sensu.io/plugins/{{ .Name }}/config",
Keyspace: "sensu.io/plugins/sensu-puppet-handler/config",
},
}

Expand Down

0 comments on commit 2bbd00b

Please sign in to comment.