Alex Crawford
c628bef666
Merge pull request #273 from crawford/networkd
...
initialize: only restart networkd once per config
2014-12-02 12:54:27 -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
d0d467813d
Merge pull request #251 from Vladimiroff/master
...
metadata: Populate CloudSigma's IPs properly
2014-12-01 14:52:11 -08:00
Alex Crawford
123f111efe
coreos-cloudinit: bump to 1.0.0+git
2014-11-26 14:19:29 -08:00
Alex Crawford
521ecfdab5
coreos-cloudinit: bump to 1.0.0
2014-11-26 14:19:13 -08:00
Alex Crawford
6d0fdf1a47
Merge pull request #268 from crawford/dropins
...
drop-in: add support for drop-ins
2014-11-26 14:14:49 -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
420f7cf202
system: clean up TestPlaceUnit()
2014-11-26 10:32:43 -08:00
Alex Crawford
624df676d0
config/unit: move Type() and Group() out of config
2014-11-26 10:32:43 -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
92c57423ba
Merge pull request #269 from crawford/valid
...
validate: promote invalid values to an error
2014-11-26 10:32:27 -08:00
Alex Crawford
7447e133c9
validate: promote invalid values to an error
2014-11-26 10:29:09 -08:00
Eugene Yakubovich
4e466c12da
Merge pull request #267 from thommay/flannel_unit
...
the flannel service is called flanneld
2014-11-25 12:30:58 -08:00
Thom May
333468dba3
the flannel service is called flanneld
2014-11-25 14:00:53 +00:00
Alex Crawford
55c3a793ad
coreos-cloudinit: bump to 0.11.4+git
2014-11-21 20:11:54 -08:00
Alex Crawford
eca51031c8
coreos-cloudinit: bump to 0.11.4
2014-11-21 20:11:37 -08:00
Alex Crawford
19522bcb82
Merge pull request #266 from crawford/config
...
config: update configs to match etcd, fleet, and flannel
2014-11-21 20:10:34 -08:00
Alex Crawford
62248ea33d
config/fleet: fix configs
...
Added EtcdKeyPrefix and fixed the types of EngineReconcileInterval and EtcdRequestTimeout.
2014-11-21 16:57:00 -08:00
Alex Crawford
d2a19cc86d
config/flannel: correct - vs _
2014-11-21 16:57:00 -08:00
Alex Crawford
08131ffab1
config/etcd: fix configs
...
This new table is pulled from the etcd codebase rather than the docs...
Added:
GraphiteHost
PeerElectionTimeout
PeerHeartbeatInterval
PeerKeyFile
RetryInterval
SnapshotCount
StrTrace
VeryVeryVerbose
Fixed types:
ClusterActiveSize
ClusterRemoveDelay
ClusterSyncInterval
HTTPReadTimeout
HTTPWriteTimeout
MaxResultBuffer
MaxRetryAttempts
Snapshot
Verbose
VeryVerbose
Renamed:
Cors
Removed:
MaxClusterSize
CPUProfileFile
2014-11-21 16:57:00 -08:00
Alex Crawford
4a0019c669
config: add support for float64
2014-11-21 16:13:49 -08:00
Alex Crawford
3275ead1ec
coreos-cloudinit: bump to 0.11.3+git
2014-11-21 12:25:26 -08:00
Alex Crawford
32b6a55724
coreos-cloudinit: bump to 0.11.3
2014-11-21 12:25:04 -08:00
Alex Crawford
6c43644369
Merge pull request #265 from crawford/update
...
config/update: add "off" as a valid strategy
2014-11-21 12:22:45 -08:00
Alex Crawford
e6593d49e6
config/update: add "off" as a valid strategy
...
It was assumed that the user would specify the reboot strategy as an
unquoted value. In the case that they turn off updates, `off` is
interpreted as a boolean and the normalization pass converts that to
`false`. In the event that the user uses `"off"`, it's interpreted as a
string and not modified.
2014-11-21 10:41:03 -08:00
Alex Crawford
ab752b239f
coreos-cloudinit: bump to 0.11.2+git
2014-11-20 11:29:25 -08:00
Alex Crawford
0742e4d357
coreos-cloudinit: bump to 0.11.2
2014-11-20 11:29:12 -08:00
Alex Crawford
78f586ec9e
Merge pull request #262 from crawford/permissions
...
config: fix parsing of file permissions
2014-11-20 11:28:11 -08:00
Alex Crawford
6f91b76d79
docs: correct type of permissions
2014-11-20 11:14:44 -08:00
Alex Crawford
5c80ccacc4
config: fix parsing of file permissions
...
The file permissions can be specified (unfortunately) as a string or an
octal integer. During the normalization step, every field is
unmarshalled into an interface{}. String types are kept in tact but
integers are converted to decimal integers. If the raw config
represented the permissions as an octal, it would be converted to
decimal _before_ it was saved to RawFilePermissions. Permissions() would
then try to convert it again, assuming it was an octal. The new behavior
doesn't assume the radix of the number, allowing decimal and octal
input.
2014-11-20 11:14:44 -08:00
Rob Szumski
44fdf95d99
docs: mention validate flag
2014-11-20 11:12:31 -08:00
Rob Szumski
0a62614eec
docs: link to validator
2014-11-20 10:58:57 -08:00
Alex Crawford
97758b343b
coreos-cloudinit: bump to 0.11.1+git
2014-11-18 12:14:34 -08:00
Alex Crawford
fb6f52b360
coreos-cloudinit: bump to 0.11.1
2014-11-18 12:14:29 -08:00
Alex Crawford
786cd2a539
Merge pull request #259 from crawford/hyphen
...
config/validate: disable - vs _ message for now
2014-11-18 12:12:26 -08:00
Alex Crawford
45793f1254
config/validate: disable - vs _ message for now
2014-11-18 12:11:50 -08:00
Alex Crawford
b621756d92
Merge pull request #258 from crawford/header
...
config/validate: fix line number for header check
2014-11-18 12:11:35 -08:00
Alex Crawford
a5b5c700a6
config/validate: fix line number for header check
2014-11-18 12:02:23 -08:00
Kiril Vladimirov
ea95920f31
fix(datasource/CloudSigma): Make sure DHCP has run
2014-11-17 15:35:10 +02:00
Alex Crawford
d7602f3c08
Merge pull request #244 from eyakubovich/master
...
flannel: added flannel support and helper to make dropins
2014-11-14 10:46:19 -08:00
Eugene Yakubovich
a20addd05e
flannel: added flannel support and helper to make dropins
...
fleet, flannel, and etcd all generate dropins from config.
To reduce code duplication, factor out a helper to do that.
2014-11-14 10:45:23 -08:00
Alex Crawford
d9d89a6fa0
coreos-cloudinit: bump to 0.11.0+git
2014-11-14 10:42:00 -08:00
Alex Crawford
3c26376326
coreos-cloudinit: bump to 0.11.0
2014-11-14 10:41:47 -08:00
Alex Crawford
d3294bcb86
Merge pull request #254 from crawford/validator
...
config: add new validator
2014-11-12 17:40:16 -08:00
Alex Crawford
dda314b518
flags: add validate flag
...
This will allow the user to run a standalone validation.
2014-11-12 16:48:57 -08:00
Alex Crawford
055a3c339a
config/validate: add new config validator
...
This validator is still experimental and is going to need new rules in the
future. This lays out the general framework.
2014-11-12 16:48:57 -08:00
Alex Crawford
51f37100a1
config: remove config validator
2014-11-07 10:18:08 -08:00
Alex Crawford
88e8265cd6
config: seperate AssertValid and AssertStructValid
...
Added an error structure to make it possible to get the specifics of the failure.
2014-11-07 10:14:34 -08:00
Alex Crawford
6e2db882e6
script: move Script into config package
2014-11-07 10:13:52 -08:00