Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

refactor(seed-deis-registry): move to .service file #770

Merged
merged 1 commit into from
Apr 17, 2014

Conversation

carmstrong
Copy link
Contributor

Moves seed-deis-registry to its own .service file, as it doesn't
need to run on all hosts (and shouldn't be specified in user-data).

Moves seed-deis-registry to its own .service file, as it doesn't
need to run on all hosts (and shouldn't be specified in user-data).
@mboersma
Copy link
Member

LGTM.

@@ -0,0 +1,11 @@
[Unit]
Description=Seed Deis Registry with Docker Images
Requires=seed-docker-images.service deis-registry.service
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only instance of seed-docker-images.service is inside contrib/coreos/user-data. I guess that means that contrib/rackspace and contrib/ec2 should be using this user-data file? Not sure if I can point to one in a CloudFormation template, as it's built into the template.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My work right now is paring down our user-data file -- it really doesn't need much in it. You'll notice that both EC2 and Rackspace are quite happy without it, expect that they need the public IP, private IP, and etcd discovery endpoints.

In short, yes :) We should only have one user-data file across everything. This commit helps me start moving stuff out of there.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They also need etcd.service and fleet.service running as well, but I agree.

@bacongobbler
Copy link
Member

LGTM

bacongobbler pushed a commit that referenced this pull request Apr 17, 2014
refactor(seed-deis-registry): move to .service file
@bacongobbler bacongobbler merged commit 6198a79 into master Apr 17, 2014
@bacongobbler bacongobbler deleted the move_seed_registry branch April 17, 2014 22:00
carmstrong added a commit that referenced this pull request Apr 18, 2014
Since we moved seed-deis-registry from the user-data file
in #770, the Makefile broke since we cannot perform many
systemctl actions on a oneshot service. This moves it into
an ExecStartPost after the deis-registry service starts.

fixes #774
carmstrong added a commit that referenced this pull request Apr 18, 2014
Since we moved seed-deis-registry from the user-data file
in #770, the Makefile broke since we cannot perform many
systemctl actions on a oneshot service. This moves it into
an ExecStartPost after the deis-registry service starts.

fixes #774
carmstrong added a commit that referenced this pull request Apr 18, 2014
Since we moved seed-deis-registry from the user-data file
in #770, the Makefile broke since we cannot perform many
systemctl actions on a oneshot service. This moves it into
an ExecStartPost after the deis-registry service starts.

fixes #774
carmstrong added a commit that referenced this pull request Apr 18, 2014
Since we moved seed-deis-registry from the user-data file
in #770, the Makefile broke since we cannot perform many
systemctl actions on a oneshot service. This moves it into
an ExecStartPost after the deis-registry service starts.

fixes #774
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants