diff options
author | Matt Woodson <mwoodson@redhat.com> | 2016-01-07 16:08:55 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@redhat.com> | 2016-01-07 16:08:55 -0500 |
commit | eda483f89b21e216f46d8d19b5cc5bc341e9782c (patch) | |
tree | 1a731fd43d73028a87eb30f04c63ed52fb8dc782 /roles/oso_host_monitoring/templates/oso-rhel7-zagg-client.service.j2 | |
parent | 4834968bd9b3bc621ecfc7584c0bc776471475f6 (diff) | |
download | openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.tar.gz openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.tar.bz2 openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.tar.xz openshift-eda483f89b21e216f46d8d19b5cc5bc341e9782c.zip |
oso_host_monitoring role: removed the f22 and zagg client, replaced it with oso-rhel7-host-monitoring container
Diffstat (limited to 'roles/oso_host_monitoring/templates/oso-rhel7-zagg-client.service.j2')
-rw-r--r-- | roles/oso_host_monitoring/templates/oso-rhel7-zagg-client.service.j2 | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/roles/oso_host_monitoring/templates/oso-rhel7-zagg-client.service.j2 b/roles/oso_host_monitoring/templates/oso-rhel7-zagg-client.service.j2 deleted file mode 100644 index bcc8a5e03..000000000 --- a/roles/oso_host_monitoring/templates/oso-rhel7-zagg-client.service.j2 +++ /dev/null @@ -1,62 +0,0 @@ -# This is a systemd file to run this docker container under systemd. -# To make this work: -# * pull the image (probably from ops docker registry) -# * place this file in /etc/systemd/system without the .systemd extension -# * run the commands: -# systemctl daemon-reload -# systemctl enable zagg-client-docker -# systemctl start zagg-client-docker -# -# -[Unit] -Description=Zagg Client Contatainer -Requires=docker.service -After=docker.service - - -[Service] -Type=simple -TimeoutStartSec=5m -Environment=HOME=/etc/docker/ops -#Slice=container-small.slice - -# systemd syntax '=-' ignore errors from return codes. -ExecStartPre=-/usr/bin/docker kill "{{ osohm_zagg_client }}" -ExecStartPre=-/usr/bin/docker rm "{{ osohm_zagg_client }}" -ExecStartPre=-/usr/bin/docker pull "{{ osohm_docker_registry_url }}{{ osohm_zagg_client }}" - - -ExecStart=/usr/bin/docker run --name {{ osohm_zagg_client }} \ - --privileged \ - --pid=host \ - --net=host \ - -e ZAGG_URL={{ osohm_zagg_web_url }} \ - -e ZAGG_USER={{ osohm_default_zagg_server_user }} \ - -e ZAGG_PASSWORD={{ osohm_default_zagg_server_password }} \ - -e ZAGG_CLIENT_HOSTNAME={{ ec2_tag_Name }} \ - -e ZAGG_SSL_VERIFY={{ osohm_zagg_verify_ssl }} \ - -e OSO_CLUSTER_GROUP={{ cluster_group }} \ - -e OSO_CLUSTER_ID={{ oo_clusterid }} \ - -e OSO_HOST_TYPE={{ hostvars[inventory_hostname]['ec2_tag_host-type'] }} \ - -e OSO_SUB_HOST_TYPE={{ hostvars[inventory_hostname]['ec2_tag_sub-host-type'] }} \ - -v /etc/localtime:/etc/localtime \ - -v /run/pcp:/run/pcp \ - -v /var/run/docker.sock:/var/run/docker.sock \ - -v /var/run/openvswitch:/var/run/openvswitch \ -{% if hostvars[inventory_hostname]['ec2_tag_host-type'] == 'master' %} - -v /etc/openshift/master/admin.kubeconfig:/etc/openshift/master/admin.kubeconfig \ - -v /etc/openshift/master/master.etcd-client.crt:/etc/openshift/master/master.etcd-client.crt \ - -v /etc/openshift/master/master.etcd-client.key:/etc/openshift/master/master.etcd-client.key \ - -v /etc/openshift/master/master-config.yaml:/etc/openshift/master/master-config.yaml \ -{% endif %} - {{ osohm_docker_registry_url }}{{ osohm_zagg_client }} - - -ExecReload=-/usr/bin/docker stop "{{ osohm_zagg_client }}" -ExecReload=-/usr/bin/docker rm "{{ osohm_zagg_client }}" -ExecStop=-/usr/bin/docker stop "{{ osohm_zagg_client }}" -Restart=always -RestartSec=30 - -[Install] -WantedBy=default.target |