Alex Crawford
ae3676096c
coreos-cloudinit: bump to 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
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
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