puppet

package
v0.1.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Transport string `yaml:"transport"`
	SSH       SSH    `yaml:"ssh"`
}

type Group

type Group struct {
	Name    string   `yaml:"name"`
	Targets []string `yaml:"targets"`
}

type Inventory

type Inventory struct {
	Groups []Group `yaml:"groups"`
	Config Config  `yaml:"config"`
}

type SSH

type SSH struct {
	User         string `yaml:"user,omitempty"`
	Password     string `yaml:"password,omitempty"`    // Consider using SSH keys instead
	PrivateKey   string `yaml:"private-key,omitempty"` // Uncomment if using SSH keys
	HostKeyCheck bool   `yaml:"host-key-check"`        // Optional: set to false to disable host key checking
	RunAs        string `yaml:"run-as,omitempty"`      // Optional: specify a user to escalate to
	NativeSSH    bool   `yaml:"native-ssh"`            // Optional: set to true to use native ssh instead of go ssh
	SSHCommand   string `yaml:"ssh-command,omitempty"` // Optional: specify a custom ssh command
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL