summaryrefslogtreecommitdiffstats
path: root/roles/etcd/templates/etcd.docker.service
Commit message (Collapse)AuthorAgeFilesLines
* drop etcdctl before the etcd_container serviceJan Chaloupka2017-07-041-1/+1
| | | | | If the etcdctl is dropped after the etcd_container is enabled, label of /var/lib/etcd directory is set to var_lib_t instead of virt_sandbox_file_t.
* run etcd_container with type:spc_t labelJan Chaloupka2017-06-301-1/+1
|
* Update systemd units to use proper container service nameSteve Milner2017-05-091-4/+4
| | | | | | | - If using a system container: container-engine - If using a package install: docker Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1448800
* Refactor etcd rolesJan Chaloupka2017-04-281-2/+2
| | | | | | | | - introduce block and simplify when conditions - introduce config.yml so the self-standing etcd role can be run (e.g. to test etcd cluster deployment) - remove empty task files - skip dependency on openshift_etcd_ca - replace cert paths with their appropriate variables
* Revert "Add /etc/sysconfig/etcd to etcd_container"Scott Dodson2017-04-251-1/+1
|
* Add /etc/sysconfig/etcd to etcd_containerFabio Alessandro Locati2017-04-191-1/+1
| | | | | | | The `/etc/sysconfig/etcd` file is often used to allow the usage of additional variables passed to the etcd daemon. Example of this is to make some new nodes join an existing cluster. Having two files simplify the automation around it, since in the `/etc/sysconfig/etcd` is possible to put temporary variables and then nuke the file as soon as they are not used anymore.
* fix selinux issues with etcd containerDusty Mabe2016-11-281-1/+1
| | | | | | | | | Make it so that we don't relabel /etc/etcd/ (via `:z`) on every run. Doing this causes systemd to fail accessing /etc/etcd/etcd.conf when trying to run the systemd unit file on the next run. Convert it from `:z` to `:ro` since we only need read-only access to the files. Fixes #2811
* use RestartSec to avoid default rate limit in systemdBrenton Leanhardt2016-04-121-0/+1
| | | | Lifted from https://github.com/openshift/origin/pull/8317
* make docker service want ose containerized servicesSeth Jennings2016-03-281-1/+1
| | | | | | | | | | | | | | | | There are points where the docker service is restarted during the install. Sometimes the services that are PartOf docker.service do not get restarted when docker is restarted. https://bugzilla.redhat.com/show_bug.cgi?id=1318948 Systemd documentation recommends using "wants" as the perferred means of creating startup linkages between units. This patch makes the ose services wanted by the docker service rather than multi-user.target. This creates a downward link from the docker service to the ose containerized services.
* improve ordering of systemd unitsJason DeTiberus2016-03-141-0/+3
|
* Containerization work by @sdodsonScott Dodson2015-12-151-0/+13