Michael Marineau
ea6262f0ae
fix(etcd): fix runtime panic when etcd section is missing.
...
The etcd code tries to assign ee["name"] even when the map was never
defined and assigning to an uninitialized map causes a panic.
2014-05-16 20:38:49 -07:00
Jonathan Boulle
31cfad91e3
refactor(*): rework cloudconfig for better extensibility and consistency
...
This change creates a few simple interfaces for coreos-specific
configuration options and moves things to them wherever possible; so if
an option needs to write a file, or create a unit, it is acted on
exactly the same way as every other file/unit that needs to be written
during the cloud configuration process.
2014-05-14 11:34:07 -07:00
Brian Waldon
ddd035aaa7
feat($ip): Substitute $[public|private]_ipv4 in whole user-data
2014-03-21 11:01:16 -07:00
Brian Waldon
01542ecec7
fix(etcd): Transform DISCOVERY_URL to DISCOVERY
2014-03-18 13:04:07 -07:00
Brian Waldon
9818565c7d
feat(etcd): Fall back to hostname if no machine-id
2014-03-18 10:58:47 -07:00
Brian Waldon
f5765e4dde
feat(etcd): Default etcd name to /etc/machine-id
2014-03-18 10:58:47 -07:00
Brian Waldon
cfa17ca2d2
fix(etcd): Place etcd.service drop-in in /run
2014-03-18 10:36:34 -07:00
Brian Waldon
d2dabee0c6
refactor(*): Break apart packages
2014-03-18 09:14:11 -07:00