Alex Crawford
a28f870302
Merge pull request #314 from robszumski/master
...
docs: link to CoreUpdate and Omaha
2015-02-06 14:15:39 -08:00
Rob Szumski
a3357c273c
docs: update links
2015-02-06 13:43:06 -08:00
Rob Szumski
080c698ec2
docs: link to CoreUpdate and Omaha
2015-02-06 13:31:50 -08:00
Alex Crawford
a275e18533
Merge pull request #308 from demonbane/github-capitalization
...
Fix GitHub capitalization
2015-01-28 14:28:53 -08:00
Alex Malinovich
cf3baa8805
Fix GitHub capitalization
2015-01-28 14:19:08 -08:00
Jonathan Boulle
ed84bcef04
Merge pull request #307 from jonboulle/master
...
docs: fix typo
2015-01-28 10:25:15 -08:00
Jonathan Boulle
7d8b29e597
docs: fix typo
2015-01-28 10:19:16 -08:00
Alex Crawford
4eaaa5c927
Merge pull request #304 from crawford/metadata
...
datasource: improve metadata handling
2015-01-27 14:36:12 -08:00
Alex Crawford
536f8acf2a
config: remove network config from CloudConfig
2015-01-26 17:35:08 -08:00
Alex Crawford
9605b5edf2
datasource: remove FetchNetworkConfig step
...
Its easier to let each datasource grab all metadata in the FetchMetadata
stage than to break it into multiple stages.
2015-01-26 16:08:26 -08:00
Alex Crawford
42153edbbc
initialize: change env to process from metadata
...
We don't use general substitutions so just have env pick the values it
wants to substitute.
2015-01-26 16:08:26 -08:00
Alex Crawford
650a239fdb
metadata: simplify merging of metadata
...
Add an internal field for CloudConfig to make it easier to distinguish.
Instead of creating two CloudConfigs and merging them, just merge the
metadata into the existing CloudConfig.
2015-01-26 16:08:26 -08:00
Alex Crawford
3e47c09b41
datasource: replace metadata map with struct
...
The loosely-typed metadata map is a load of crap. Make it a struct and
let the compiler help us out.
2015-01-26 15:57:57 -08:00
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
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