Jonathan Boulle
be68a8e5cc
*: switch to line comments for copyright
...
Build tags are not compatible with block comments. Also adds copyright
header to a few places it was missing.
2015-01-24 19:32:33 -08:00
Alex Crawford
b0cfd86902
network: write network units with user units
...
This allows us to test the network unit generation as well as removing
some special-cased code.
2014-12-12 15:08:03 -08:00
Alex Crawford
5c059b66f0
initialize: restart networkd before other units
2014-12-04 15:25:44 -08:00
Alex Crawford
2270db3f7a
initialize: only restart networkd once per config
...
Regression introduced by 9fcf338bf3
.
Networkd was erroneously being restarted once per network unit. It
should only restart once for the entire config.
2014-12-02 12:46:35 -08:00
Alex Crawford
ffc54b028c
drop-in: add support for drop-ins
...
This allows a list of drop-ins for a unit to be declared inline within a
cloud-config. For example:
#cloud-config
coreos:
units:
- name: docker.service
drop-ins:
- name: 50-insecure-registry.conf
content: |
[Service]
Environment=DOCKER_OPTS='--insecure-registry="10.0.1.0/24"'
2014-11-26 14:09:35 -08:00
Alex Crawford
75ed8dacf9
initialize: clean up TestProcessUnits()
2014-11-26 10:32:43 -08:00
Alex Crawford
dcaabe4d4a
system: clean up UnitManager interface
2014-11-26 10:32:43 -08:00
Alex Crawford
8be307de49
*: fix warnings from go vet
2014-10-23 11:46:08 -07:00
Jonathan Boulle
6c1ba590aa
*: add license header to all source files
2014-10-17 15:36:22 -07:00
Alex Crawford
18e2f98414
cloudconfig: refactor config
...
- Move CloudConfig into config package
- Add YAML tags to CloudConfig
2014-09-23 17:59:32 -07:00
Alex Crawford
85b8d804c8
file: refactor config
...
- Seperate the config from Permissions()
- Add YAML tags for the fields
2014-09-23 17:59:16 -07:00
Alex Crawford
1fbbaaec19
unit: refactor config
...
- Seperate the config from Destination()
- Add YAML tags for the fields
2014-09-23 17:58:32 -07:00
Alex Crawford
667dbd8fb7
update: refactor config
...
- Explicitly specify all of the valid options for Update
- Seperate the config from File() and Units()
- Add YAML tags for the fields
2014-09-23 17:57:43 -07:00
Alex Crawford
c255739a93
etcd: refactor config
...
- Explicitly specify all of the valid options for etcd
- Remove the default name generation (ETCD_NAME is set by its unit file now)
- Seperate the etcd config from Units()
- Remove support for DISCOVERY_URL
- Add YAML tags for the fields
2014-09-23 16:07:13 -07:00
Alex Crawford
b093094292
config: Verify that type assertions are valid
2014-07-22 11:39:20 -07:00
Jonathan Boulle
be51f4eba0
chore(*): split out unit processing from config.Apply
2014-07-11 10:44:19 -07:00
Jonathan Boulle
98f5ead730
fix(*): catch more unknown keys in user and file sections
2014-05-15 18:53:17 -07:00
Jonathan Boulle
81fe0dc9e0
fix(initialize): also check for unknown coreos keys
2014-05-15 18:53:17 -07:00
Jonathan Boulle
e852be65f7
feat(*): warn on encountering unrecognized keys in cloud-config
2014-05-15 18:53:17 -07:00
Jonathan Boulle
cdee32d245
refactor(systemd): don't allow users to set DropIn=true yet
2014-05-14 11:34:13 -07:00
Alex Polvi
7e4fa423e4
feat(initialize): add locksmith configuration
...
configure locksmith strategy based on the cloud config.
2014-05-06 20:57:28 -07:00
Brian Waldon
3d01211937
feat(coreos.oem): Write coreos.oem fields to /etc/oem-release
2014-03-24 13:42:35 -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
09c473a6cb
fix(fleet): Drop coreos.fleet from cloud-config
2014-03-19 14:43:25 -07:00
Brian Waldon
6f5acf53cb
feat(github): add coreos-ssh-import-github user attribute
2014-03-19 08:54:45 -07:00
Brian Waldon
01542ecec7
fix(etcd): Transform DISCOVERY_URL to DISCOVERY
2014-03-18 13:04:07 -07:00
Brian Waldon
d2dabee0c6
refactor(*): Break apart packages
2014-03-18 09:14:11 -07:00