Alex Crawford
d4c617fc23
config: standardize interface a bit
2015-01-26 15:57:55 -08:00
Alex Crawford
9441586229
test: check all root golang files
2015-01-26 15:57:54 -08:00
Alex Crawford
be62a1df66
test: DRY out MockFilesystem
2015-01-26 15:57:51 -08:00
Jonathan Boulle
c093e44049
Merge pull request #305 from jonboulle/copyright
...
*: switch to line comments for copyright
2015-01-25 10:28:52 -08:00
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
58b4de8093
coreos-cloudinit: bump to v1.2.1+git
2015-01-21 14:29:51 -08:00
Alex Crawford
ae3676096c
coreos-cloudinit: bump to v1.2.1
v1.2.1
2015-01-21 14:29:25 -08:00
Alex Crawford
a548b557ed
doc: add coreos-ssh-import-github-users
2015-01-21 14:28:43 -08:00
Alex Crawford
a9c132a706
coreos-cloudinit: bump to v1.2.0+git
2015-01-20 14:42:48 -08:00
Alex Crawford
c3c4b86a3b
coreos-cloudinit: bump to v1.2.0
v1.2.0
2015-01-20 14:42:18 -08:00
Alex Crawford
44142ff8af
Merge pull request #301 from crawford/github
...
config: add support for multiple github users
2015-01-20 14:26:38 -08:00
Alex Crawford
e9529ede44
config: add support for multiple github users
2015-01-20 13:45:52 -08:00
Alex Crawford
4b5b801171
Merge pull request #295 from crawford/rules
...
config/validate: add some sanity checks
2015-01-15 16:25:37 -08:00
Alex Crawford
551cbb1e5d
config/validate: add rule for file encoding
2015-01-15 15:01:44 -08:00
Alex Crawford
3c93938f8a
decode: refactor file decoding into config package
2015-01-15 15:01:44 -08:00
Alex Crawford
f61c08c246
config/validate: add rule for coreos.write_files
2015-01-15 15:01:44 -08:00
Alex Crawford
571903cec6
config/validate: add rule for etcd discovery token
2015-01-15 15:01:44 -08:00
Alex Crawford
bdbd1930ed
config/validate: add rule for file paths
2015-01-15 15:01:44 -08:00
Alex Crawford
cc75a943ba
Merge pull request #300 from crawford/float
...
validate: allow promotion of int to float64
2015-01-15 13:17:44 -08:00
Alex Crawford
fc77ba6355
validate: allow promotion of int to float64
2015-01-14 17:54:01 -08:00
Eugene Yakubovich
7cfa0df7c4
Merge pull request #299 from eyakubovich/master
...
config: document and update flannel config values
2015-01-13 15:55:42 -08:00
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
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 d3294bcb86b85e59bc79687b589d1bb64c24d996.
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
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