d407b82968
fix import
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-11-09 08:24:52 +00:00
2be9bc5c43
fix
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-03-30 11:55:46 +03:00
de2a74b621
fix
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-03-30 10:51:56 +03:00
7449a4a5db
update
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-03-28 20:04:09 +03:00
5bbc02c647
fix
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-03-26 11:53:54 +03: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
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
dcaabe4d4a
system: clean up UnitManager interface
2014-11-26 10:32:43 -08:00
Jonathan Boulle
44f0a949c5
*: switch to Godeps
2014-10-20 12:04:03 -07:00
Jonathan Boulle
6c1ba590aa
*: add license header to all source files
2014-10-17 15:36:22 -07:00
Alex Crawford
85b8d804c8
file: refactor config
...
- Seperate the config from Permissions()
- Add YAML tags for the fields
2014-09-23 17:59:16 -07:00
Jonathan Boulle
be51f4eba0
chore(*): split out unit processing from config.Apply
2014-07-11 10:44:19 -07:00
Jonathan Boulle
a6aa9f82b8
fix(systemd): unmask runtime units when mask=False
2014-06-06 10:55:42 -07:00
Jonathan Boulle
0ddc08d55a
fix(system): write all files atomically
2014-06-06 10:36:36 -07:00
Jonathan Boulle
786e4bef65
fix(systemd): remove any existing unit when calling mask
2014-05-29 13:59:55 -07:00
Jonathan Boulle
b04509ae54
fix(systemd): EnableUnitFile unit name rather than absolute destination
2014-05-26 15:16:24 -07:00
Jonathan Boulle
cdee32d245
refactor(systemd): don't allow users to set DropIn=true yet
2014-05-14 11:34:13 -07:00
Jonathan Boulle
31cfad91e3
refactor(*): rework cloudconfig for better extensibility and consistency
...
This change creates a few simple interfaces for coreos-specific
configuration options and moves things to them wherever possible; so if
an option needs to write a file, or create a unit, it is acted on
exactly the same way as every other file/unit that needs to be written
during the cloud configuration process.
2014-05-14 11:34:07 -07:00
Brandon Philips
c3f17bd07b
feat(system): add MaskUnit to systemd
2014-05-06 17:46:16 -07:00
Brandon Philips
aea5ca5252
chore(initialize): code cleanups and gofmt
2014-05-06 16:13:21 -07:00
Brian Waldon
476761cf62
refactor(unit): Separate UnitDestination from PlaceUnit
2014-04-15 09:00:53 -07:00
Brian Waldon
5981e12ac0
feat(unit): Allow user to control enabling units
...
Fix #69 - A user may provide an `enable` attribute of a unit in their
cloud config document. If true, coreos-cloudinit will instruct systemd
to enable the associated unit. If false, the unit will not be enabled.
Fix #71 - The default enable behavior has been changed from on to off.
2014-04-15 09:00:52 -07:00
Brian Waldon
58ae898948
fix(systemd): Update usage of dbus.Reload
2014-03-25 19:37:05 -07:00
Brian Waldon
88a6e77449
feat(unit.command): Add command field to units
2014-03-19 15:56:29 -07:00
Brian Waldon
09c473a6cb
fix(fleet): Drop coreos.fleet from cloud-config
2014-03-19 14:43:25 -07:00
Brian Waldon
dcd82e6c50
fix(system): Use os.Hostname
2014-03-18 11:04:33 -07:00
Brian Waldon
9818565c7d
feat(etcd): Fall back to hostname if no machine-id
2014-03-18 10:58:47 -07:00
Brian Waldon
f5765e4dde
feat(etcd): Default etcd name to /etc/machine-id
2014-03-18 10:58:47 -07:00
Brian Waldon
d2dabee0c6
refactor(*): Break apart packages
2014-03-18 09:14:11 -07:00