Fix Vagrant

This commit is contained in:
Matt Prahl
2016-12-15 15:11:23 -05:00
parent 5c3d46595a
commit f2a02027a9
5 changed files with 5 additions and 18 deletions

2
Vagrantfile vendored
View File

@@ -28,6 +28,8 @@ $script = <<SCRIPT
rpm-build \
swig \
systemd-devel
mkdir /usr/share/fedmsg
chown fedmsg:fedmsg /usr/share/fedmsg
systemctl enable fedmsg-relay
systemctl start fedmsg-relay
mkdir /etc/module-build-service/

View File

@@ -119,7 +119,7 @@ class DevConfiguration(BaseConfiguration):
KOJI_ARCHES = ['x86_64']
KOJI_REPOSITORY_URL = 'http://kojipkgs.stg.fedoraproject.org/repos'
OIDC_CLIENT_SECRETS = "client_secrets.json"
OIDC_CLIENT_SECRETS = path.join(confdir, 'client_secrets.json')
SSL_CERTIFICATE_FILE = path.join(confdir, 'server.crt')
SSL_CERTIFICATE_KEY_FILE = path.join(confdir, 'server.key')

View File

@@ -1,15 +0,0 @@
[Unit]
Description=Scheduler for the Module Build Service
After=network.target
Documentation=https://pagure.io/fm-orchestrator
[Service]
ExecStart=/usr/bin/mbs-daemon
Type=simple
User=fedmsg
Group=fedmsg
Restart=on-failure
[Install]
WantedBy=multi-user.target

View File

@@ -73,9 +73,9 @@ To start the frontend manually, run the following inside the guest::
$ mbs-frontend
To start the scheduler manually, run the following inside the guest::
To start the scheduler manually, run the following at `/tmp/module_build_service` inside the guest::
$ mbs-daemon
$ fedmsg-hub
Alternatively, you can restart the Vagrant guest, which inherently starts/restarts the frontend and the scheduler with::