SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
|
@ -0,0 +1,49 @@
|
|||
Index: agent/appconfig/constants_unix.go
|
||||
--- agent/appconfig/constants_unix.go.orig
|
||||
+++ agent/appconfig/constants_unix.go
|
||||
@@ -29,7 +29,7 @@ import (
|
||||
var (
|
||||
|
||||
// AgentExtensions specified the root folder for various kinds of downloaded content
|
||||
- AgentData = "/var/lib/amazon/ssm/"
|
||||
+ AgentData = "/var/db/amazon/ssm/"
|
||||
|
||||
// PackageRoot specifies the directory under which packages will be downloaded and installed
|
||||
PackageRoot = AgentData + "packages"
|
||||
@@ -62,10 +62,10 @@ var (
|
||||
DefaultDataStorePath = AgentData
|
||||
|
||||
// EC2ConfigDataStorePath represents the directory for storing ec2 config data
|
||||
- EC2ConfigDataStorePath = "/var/lib/amazon/ec2config/"
|
||||
+ EC2ConfigDataStorePath = "/var/db/amazon/ec2config/"
|
||||
|
||||
// EC2ConfigSettingPath represents the directory for storing ec2 config settings
|
||||
- EC2ConfigSettingPath = "/var/lib/amazon/ec2configservice/"
|
||||
+ EC2ConfigSettingPath = "/var/db/amazon/ec2configservice/"
|
||||
|
||||
// UpdaterArtifactsRoot represents the directory for storing update related information
|
||||
UpdaterArtifactsRoot = AgentData + "update/"
|
||||
@@ -116,9 +116,9 @@ var (
|
||||
var PowerShellPluginCommandName string
|
||||
|
||||
// DefaultProgramFolder is the default folder for SSM
|
||||
-var DefaultProgramFolder = "/etc/amazon/ssm/"
|
||||
+var DefaultProgramFolder = "${SYSCONFDIR}/amazon/ssm/"
|
||||
|
||||
-var defaultWorkerPath = "/usr/bin/"
|
||||
+var defaultWorkerPath = "${TRUEPREFIX}/bin/"
|
||||
var DefaultSSMAgentBinaryPath = defaultWorkerPath + "amazon-ssm-agent"
|
||||
var DefaultSSMAgentWorker = defaultWorkerPath + "ssm-agent-worker"
|
||||
var DefaultDocumentWorker = defaultWorkerPath + "ssm-document-worker"
|
||||
@@ -140,9 +140,9 @@ func init() {
|
||||
/*
|
||||
Powershell command used to be powershell in alpha versions, now it's pwsh in prod versions
|
||||
*/
|
||||
- PowerShellPluginCommandName = "/usr/bin/powershell"
|
||||
+ PowerShellPluginCommandName = "${LOCALBASE}/bin/powershell"
|
||||
if _, err := os.Stat(PowerShellPluginCommandName); err != nil {
|
||||
- PowerShellPluginCommandName = "/usr/bin/pwsh"
|
||||
+ PowerShellPluginCommandName = "${LOCALBASE}/bin/pwsh"
|
||||
}
|
||||
|
||||
// curdir is amazon-ssm-agent current directory path
|
Loading…
Add table
Add a link
Reference in a new issue