Versions in this module Expand all Collapse all v0 v0.1.5 Oct 28, 2025 Changes in this version + func GetDefaultCustomFacts() map[string]FactDefinition + func LoadCustomFactsFromYAML(filepath string) (map[string]FactDefinition, error) + func LogMissingFactColumns(log *slog.Logger, facts map[string]FactDefinition, instance *cloud.Instance) + func ValidateFactColumns(facts map[string]FactDefinition, instance *cloud.Instance) []string v0.1.4 Oct 22, 2025 Changes in this version + const DefaultSSMTimeout + const OSTypeDebian + const OSTypeRHEL + type FactDefinition struct + FactName string + Fields map[string]string + FilePath string + type InstallOptions struct + CustomOptions map[string]string + DryRun bool + MaxConcurrency int + SkipTagging bool + SkipValidation bool + Timeout time.Duration + type InstallResult struct + Duration time.Duration + EndTime time.Time + Error error + Instance *cloud.Instance + Output string + StartTime time.Time + Success bool + Tagged bool + func (ir *InstallResult) String() string + type PackageInstaller interface + GenerateInstallScript func(os string, options map[string]string) ([]string, error) + GetFailureTags func(err error) map[string]string + GetInstallMetadata func() map[string]string + GetSuccessTags func() map[string]string + Name func() string + ValidatePrerequisites func(ctx context.Context, instance *cloud.Instance, provider cloud.CloudProvider) error + VerifyInstallation func(ctx context.Context, instance *cloud.Instance, provider cloud.CloudProvider) error + type PuppetInstaller struct + func NewPuppetInstaller(opts PuppetOptions) *PuppetInstaller + func (*PuppetInstaller) GetFailureTags(_ error) map[string]string + func (*PuppetInstaller) GetSuccessTags() map[string]string + func (*PuppetInstaller) Name() string + func (*PuppetInstaller) VerifyInstallation(ctx context.Context, instance *cloud.Instance, provider cloud.CloudProvider) error + func (pi *PuppetInstaller) GenerateInstallScript(os string, _ map[string]string) ([]string, error) + func (pi *PuppetInstaller) GenerateInstallScriptWithAutoDetect(ctx context.Context, instance *cloud.Instance, provider cloud.CloudProvider, ...) ([]string, error) + func (pi *PuppetInstaller) GetInstallMetadata() map[string]string + func (pi *PuppetInstaller) ValidatePrerequisites(ctx context.Context, instance *cloud.Instance, provider cloud.CloudProvider) error + type PuppetOptions struct + CustomFacts map[string]FactDefinition + Environment string + Port int + Server string + Version string