diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-03-05 12:39:47 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2015-03-05 12:41:08 +0000 |
commit | 4777d146a6b8ca31648995d6f8b53c7a53ee83ce (patch) | |
tree | 504c827b922ed909af467d2fb26192947a43a273 /openstack/usr | |
parent | 528a0ab452409832e4251bb8827d3b64bc31f727 (diff) | |
download | definitions-4777d146a6b8ca31648995d6f8b53c7a53ee83ce.tar.gz |
move swift setup units into /usr/lib
Diffstat (limited to 'openstack/usr')
-rw-r--r-- | openstack/usr/lib/systemd/system/openstack-swift-controller-setup.service | 11 | ||||
-rw-r--r-- | openstack/usr/lib/systemd/system/openstack-swift-storage-setup.service | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-swift-controller-setup.service b/openstack/usr/lib/systemd/system/openstack-swift-controller-setup.service new file mode 100644 index 00000000..3915cc04 --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-swift-controller-setup.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run openstack-swift-controller-setup (once) +After=local-fs.target postgres-server.service openstack-keystone-setup.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/swift-controller.yml +Restart=no + +[Install] +WantedBy=multi-user.target diff --git a/openstack/usr/lib/systemd/system/openstack-swift-storage-setup.service b/openstack/usr/lib/systemd/system/openstack-swift-storage-setup.service new file mode 100644 index 00000000..6896c570 --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-swift-storage-setup.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run openstack-swift-storage-setup (once) +After=local-fs.target postgres-server.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/swift-storage.yml +Restart=no + +[Install] +WantedBy=multi-user.target |