ports/sysutils/amazon-ssm-agent/files/patch-agent_appconfig_constants__unix.go
Colin Percival d1da7df50f Update Amazon SSM Agent to version 2.0.790.0.
This update does not appear to bring any significant functional changes
affecting FreeBSD; but some patches from the ports tree have been merged
upstream so this commit reduces the set of local patches.

This version of the Amazon SSM Agent builds a "ssm-cli" utility.  Since I
have been unable to determine what this utility does, and it seems to be
entirely undocumented, it is not being installed.
2017-05-28 08:01:16 +00:00

20 lines
824 B
Go

--- agent/appconfig/constants_unix.go.orig 2017-05-22 17:12:08.000000000 +0000
+++ agent/appconfig/constants_unix.go 2017-05-28 06:51:05.792117000 +0000
@@ -18,7 +18,7 @@
const (
// DefaultProgramFolder is the default folder for SSM
- DefaultProgramFolder = "/etc/amazon/ssm/"
+ DefaultProgramFolder = "/usr/local/etc/amazon/ssm/"
// AppConfigPath is the path of the AppConfig
AppConfigPath = DefaultProgramFolder + AppConfigFileName
@@ -47,7 +47,7 @@
DownloadRoot = "/var/log/amazon/ssm/download/"
// DefaultDataStorePath represents the directory for storing system data
- DefaultDataStorePath = "/var/lib/amazon/ssm/"
+ DefaultDataStorePath = "/var/run/amazon/ssm/"
// EC2ConfigDataStorePath represents the directory for storing ec2 config data
EC2ConfigDataStorePath = "/var/lib/amazon/ec2config/"