diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-10-23 15:24:46 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-10-23 15:28:10 -0700 |
commit | da8d9548289ae8466568b211517f75a95a108aed (patch) | |
tree | b987edb9d083f9c1487f5ccbf3b74cc7df843295 /app-emulation/flannel/files | |
parent | www-client/google-chrome: automated update (diff) | |
download | gentoo-da8d9548289ae8466568b211517f75a95a108aed.tar.gz gentoo-da8d9548289ae8466568b211517f75a95a108aed.tar.bz2 gentoo-da8d9548289ae8466568b211517f75a95a108aed.zip |
app-emulation/flannel: new package, An etcd backed network fabric for containers
Package-Manager: portage-2.2.23
Diffstat (limited to 'app-emulation/flannel/files')
-rw-r--r-- | app-emulation/flannel/files/flannel-docker.conf | 2 | ||||
-rw-r--r-- | app-emulation/flannel/files/flannel.tmpfilesd | 1 | ||||
-rw-r--r-- | app-emulation/flannel/files/flanneld.service | 13 |
3 files changed, 16 insertions, 0 deletions
diff --git a/app-emulation/flannel/files/flannel-docker.conf b/app-emulation/flannel/files/flannel-docker.conf new file mode 100644 index 000000000000..8f5517776b89 --- /dev/null +++ b/app-emulation/flannel/files/flannel-docker.conf @@ -0,0 +1,2 @@ +[Service] +EnvironmentFile=-/run/flannel/docker diff --git a/app-emulation/flannel/files/flannel.tmpfilesd b/app-emulation/flannel/files/flannel.tmpfilesd new file mode 100644 index 000000000000..98e5abd9b20f --- /dev/null +++ b/app-emulation/flannel/files/flannel.tmpfilesd @@ -0,0 +1 @@ +d /run/flannel 0755 root root diff --git a/app-emulation/flannel/files/flanneld.service b/app-emulation/flannel/files/flanneld.service new file mode 100644 index 000000000000..7e59b6be8007 --- /dev/null +++ b/app-emulation/flannel/files/flanneld.service @@ -0,0 +1,13 @@ +[Unit] +Description=Flanneld overlay address etcd agent +After=network.target +Before=docker.service + +[Service] +Type=notify +Environment=FLANNEL_ETCD=http://127.0.0.1:4001 FLANNEL_ETCD_KEY=/coreos.com/network +ExecStart=/usr/bin/flanneld -etcd-endpoints=${FLANNEL_ETCD} -etcd-prefix=${FLANNEL_ETCD_KEY} $FLANNEL_OPTIONS +ExecStartPost=/usr/libexec/flannel/mk-docker-opts.sh -k DOCKER_NETWORK_OPTIONS -d /run/flannel/docker + +[Install] +RequiredBy=docker.service |