Eugene Yakubovich
58f0dadaf9
config: document and update flannel config values
...
Fixes #297
2015-01-13 15:51:47 -08:00
Michael Marineau
1ab530f157
Merge pull request #293 from realestate-com-au/master
...
select first available hostname returned by EC2 metadata.
2015-01-05 12:47:27 -08:00
Kevin Yung
13e4b77130
ec2: allow spaces seperated hostname in metadata
...
AWS hostname metadata will return space seperated hostname and domain
names when DHCPOptionSet is using multiple domain names. This patch will
cater for this scenario.
2015-01-05 16:01:57 +11:00
Alex Crawford
54c62cbb70
coreos-cloudinit: bump to v1.1.0+git
2014-12-30 16:52:10 +01:00
Alex Crawford
c8e864fef5
coreos-cloudinit: bump to v1.1.0
2014-12-30 16:51:24 +01:00
Alex Crawford
60a3377e7c
Merge pull request #290 from crawford/yaml
...
Improved YAML parsing
2014-12-30 16:24:12 +01:00
Alex Crawford
5527f09778
config: fix parsing of file permissions
...
These reintroduces the braindead '744' syntax for file permissions. Even
though this number isn't octal, it is assumed by convention to be. In
order to pull this off, coerceNodes() was introduced to try to
counteract the type inferrencing that occurs during the yaml
unmarshalling. The config is unmarshalled twice: once into an empty
interface and once into the CloudConfig structure. The two resulting
node structures are combined together. The nodes from the CloudConfig
process replace those from the interface{} when the types of the two
nodes are compatible. For example, with the input `0744`, yaml
interprets that as the integer 484 giving us the nodes '0744'(string)
and 484(int). Because the types string and int are compatible, we opt to
take the string node instead of the integer.
2014-12-30 16:20:21 +01:00
Alex Crawford
54a64454b9
validate: fix printing for non-string values
2014-12-30 16:20:21 +01:00
Alex Crawford
0e70d4f01f
config: add validity check for file permissions
2014-12-30 16:20:21 +01:00
Alex Crawford
af8e590575
config: change valid tag to use regexp
...
A regular expression is much more useful than a list of strings.
2014-12-30 16:20:21 +01:00
Alex Crawford
40d943fb7a
reboot-strategy: remove the 'false' value
...
Since we no longer do a two-stage unmarshal, the 'false' value will no
longer be necessary.
2014-12-30 16:20:21 +01:00
Alex Crawford
248536a5cd
config: use a YAML transform to normalize keys
...
This removes the problematic two-pass unmarshalling.
2014-12-30 16:20:21 +01:00
Alex Crawford
4ed1d03c97
godeps: bump github.com/coreos/yaml
2014-12-30 16:20:20 +01:00
Alex Crawford
057ab37364
config: seperate the CoreOS type from CloudConfig
...
Renamed Coreos to CoreOS while I was at it.
2014-12-30 16:20:20 +01:00
Alex Crawford
182241c8d3
config: clean up and remove some tests
...
Small modification to make these align with our test-table-style tests.
Also removed TestCloudConfigInvalidKeys since it hasn't been a useful
test since d3294bcb86
.
2014-12-30 16:19:00 +01:00
Michael Marineau
edced59fa6
Merge pull request #281 from thommay/flannel_env_file
...
Create an environment file for flannel
2014-12-29 15:07:08 -08:00
Thom May
9be836df31
Create an environment file for flannel
...
Rather than using a systemd overlay, allow docker to load the
environment file. This is due to coreos/coreos-overlay#1002
2014-12-29 10:27:22 +00:00
Jonathan Boulle
4e54447b8e
Merge pull request #286 from jonboulle/master
...
Godeps: switch to coreos/yaml
2014-12-20 15:43:55 -08:00
Jonathan Boulle
999c38b09b
Godeps: switch to coreos/yaml
2014-12-20 15:31:02 -08:00
Alex Crawford
06d13de5c3
coreos-cloudinit: bump to v1.0.2+git
2014-12-12 17:38:28 -08:00
Alex Crawford
5b0903d162
coreos-cloudinit: bump to v1.0.2
2014-12-12 17:37:39 -08:00
Alex Crawford
10669be7c0
Merge pull request #284 from crawford/travis
...
test: disable Travis sudo capability
2014-12-12 17:28:47 -08:00
Alex Crawford
2edae741e1
test: disable Travis sudo capability
2014-12-12 16:46:18 -08:00
Alex Crawford
ea90e553d1
Merge pull request #282 from crawford/network
...
network: write network units with user units
2014-12-12 15:12:50 -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
565a9540c9
Merge pull request #283 from crawford/validate
...
validate: empty user_data is also valid
2014-12-12 15:05:51 -08:00
Alex Crawford
fd10e27b99
validate: empty user_data is also valid
2014-12-12 14:49:42 -08:00
Michael Marineau
39763d772c
Merge pull request #280 from marineam/go1.4
...
travis: Add Go 1.4 as a test target
2014-12-11 16:34:00 -08:00
Michael Marineau
ee69b77bfb
travis: Add Go 1.4 as a test target
2014-12-11 15:29:36 -08:00
Jonathan Boulle
353444e56d
Merge pull request #279 from cnelson/write_files_encoding_support
...
Add support for the encoding key to write_files
2014-12-09 17:37:34 -08:00
cnelson
112ba1e31f
Added support for the encoding key in write_files
...
Supported encodings are base64, gzip, and base64 encoded gzip
2014-12-09 17:35:33 -08:00
cnelson
9c3cd9e69c
bumped version of yaml.v1
2014-12-09 07:49:59 -08:00
Alex Crawford
685d8317bc
Merge pull request #275 from mwhooker/master
...
Enable configuration of locksmithd
2014-12-05 14:09:40 -08:00
Matthew Hooker
f42d102b26
Also fix wording of Flannel section
2014-12-04 23:55:26 -08:00
Matthew Hooker
c944e9ef94
Enable configuration of locksmithd
2014-12-04 23:53:31 -08:00
Alex Crawford
f10d6e8bef
coreos-cloudinit: bump to v1.0.1+git
2014-12-04 16:35:20 -08:00
Alex Crawford
f3f3af79fd
coreos-cloudinit: bump to v1.0.1
2014-12-04 16:34:57 -08:00
Alex Crawford
0e63aa0f6b
Merge pull request #276 from crawford/networkd
...
initialize: restart networkd before other units
2014-12-04 16:33:02 -08:00
Alex Crawford
b254e17e89
Merge pull request #263 from robszumski/docs-validator
...
docs: link to validator
2014-12-04 16:28:21 -08:00
Alex Crawford
5c059b66f0
initialize: restart networkd before other units
2014-12-04 15:25:44 -08:00
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