diff options
author | Steve Wills <swills@FreeBSD.org> | 2018-05-22 13:04:47 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2018-05-22 13:04:47 +0000 |
commit | f29f7241e12b187f5be22f920b3ee76d31a3b9e1 (patch) | |
tree | bc9583ee7c04d749479fb79846ab106b58b9fc7c /sysutils/py-google-compute-engine | |
parent | 99be148f0e5c0debc623d91f4488a0664cc2b457 (diff) | |
download | ports-f29f7241e12b187f5be22f920b3ee76d31a3b9e1.tar.gz ports-f29f7241e12b187f5be22f920b3ee76d31a3b9e1.zip |
sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)
PR: 228411
Submitted by: Helen Koike <helen.koike@collabora.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=470608
Diffstat (limited to 'sysutils/py-google-compute-engine')
-rw-r--r-- | sysutils/py-google-compute-engine/Makefile | 6 | ||||
-rw-r--r-- | sysutils/py-google-compute-engine/files/90-google.conf.sample | 7 | ||||
-rw-r--r-- | sysutils/py-google-compute-engine/pkg-plist | 1 |
3 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/py-google-compute-engine/Makefile b/sysutils/py-google-compute-engine/Makefile index 9f41130263fd..1c1b4d218765 100644 --- a/sysutils/py-google-compute-engine/Makefile +++ b/sysutils/py-google-compute-engine/Makefile @@ -2,7 +2,7 @@ PORTNAME= google-compute-engine DISTVERSION= 2.7.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -34,7 +34,11 @@ SUB_LIST= PYTHON_CMD="${PYTHON_CMD}" REINPLACE_ARGS= -i '' post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d ${INSTALL_DATA} ${FILESDIR}/instance_configs.cfg.distro.sample \ ${STAGEDIR}${PREFIX}/etc/instance_configs.cfg.distro.sample + ${INSTALL_DATA} ${FILESDIR}/90-google.conf.sample \ + ${STAGEDIR}${PREFIX}/etc/syslog.d/90-google.conf.sample + .include <bsd.port.mk> diff --git a/sysutils/py-google-compute-engine/files/90-google.conf.sample b/sysutils/py-google-compute-engine/files/90-google.conf.sample new file mode 100644 index 000000000000..97f52ff3edca --- /dev/null +++ b/sysutils/py-google-compute-engine/files/90-google.conf.sample @@ -0,0 +1,7 @@ +# $FreeBSD$ +# Google Compute Engine default console logging. +# +# daemon: logging from Google provided daemons. +# kern: logging information in case of an unexpected crash during boot. +# +daemon,kern.* /dev/console diff --git a/sysutils/py-google-compute-engine/pkg-plist b/sysutils/py-google-compute-engine/pkg-plist index 5ca34a24cbd9..3c25a00cd2a6 100644 --- a/sysutils/py-google-compute-engine/pkg-plist +++ b/sysutils/py-google-compute-engine/pkg-plist @@ -1 +1,2 @@ @sample etc/instance_configs.cfg.distro.sample +@sample etc/syslog.d/90-google.conf.sample |