Documentation
¶
Overview ¶
Package software checks a catalog item's requires_software entries: software sofcat needs on the machine but never installs (see site/src/content/docs/guides/zip-items.md).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GOOS is the OS whose entries are checked: munki on darwin, chocolatey // on windows. Tests set it. GOOS = runtime.GOOS // MunkiReport is Munki's run report, which lists every installed managed // item under InstalledItems. Tests point it at a fixture. The // SOFCAT_TEST_MUNKI_REPORT environment variable replaces it for the macOS // smoke (test/manual/run-tapas-smoke.sh), which must not touch the rig's // real Munki report; only root can set a daemon's environment. MunkiReport = cmp.Or(os.Getenv("SOFCAT_TEST_MUNKI_REPORT"), "/Library/Managed Installs/ManagedInstallReport.plist") // ChocolateyLib returns Chocolatey's package directory, which holds one // directory per installed package id. Tests replace it. ChocolateyLib = func() string { dir := os.Getenv("ProgramData") if dir == "" { dir = `C:\ProgramData` } return filepath.Join(dir, "chocolatey", "lib") } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.