Commit Graph

81 Commits

Author SHA1 Message Date
Joey Hess f674c56119 Add --list-fields to list a host's currently set privdata fields. 2014-06-19 14:56:50 -04:00
Joey Hess 42594d6b4c Add --edit to edit a privdata value in $EDITOR 2014-06-19 14:48:15 -04:00
Joey Hess 28a80c4c48 cacheCleaned is trivial 2014-06-10 15:50:42 -04:00
Joey Hess dd554e20b9 When git gpg signature of a fetched git branch cannot be verified, propellor will now continue running, but without merging in that branch.
This way, propellor doesn't stop enforcing properties just because its new
configuration isn't ready. It just uses the old configuration.
2014-06-10 15:49:17 -04:00
Joey Hess f65cd1500f
propellor spin 2014-06-10 10:08:12 -04:00
Joey Hess 8432378f2c need tree for apt build-deps 2014-06-10 01:15:18 -04:00
Joey Hess 73fec82d7a
propellor spin 2014-06-10 00:53:54 -04:00
Joey Hess a179c281e9
propellor spin 2014-06-09 23:32:53 -04:00
Joey Hess ed0ee936ae
propellor spin 2014-06-09 22:47:40 -04:00
Joey Hess 416a6646c3 cleanup 2014-06-09 12:34:32 -04:00
Joey Hess fc49d75e4f Attr is renamed to Info. 2014-06-09 01:47:11 -04:00
Joey Hess 582be8ebe0 combineProperties no longer stops when a property fails; now it continues trying to satisfy all properties on the list before propigating the failure.
Audited all of my calls to combineProperties and they should be fine with
this behavior.. which suggests it's the right behavior.
2014-06-07 00:14:05 -04:00
Joey Hess 969db1ed56 when ssh key data is missing, allow both error messages to be printed 2014-06-07 00:07:19 -04:00
Joey Hess b5812c7564
propellor spin 2014-06-06 23:07:46 -04:00
Joey Hess 9ed258633a
propellor spin 2014-06-06 23:07:05 -04:00
Joey Hess a0aac39244
propellor spin 2014-06-06 22:49:55 -04:00
Joey Hess c3add08491
propellor spin 2014-06-06 22:47:42 -04:00
Joey Hess 6fc6d54f8a
propellor spin 2014-06-06 22:46:31 -04:00
Joey Hess 16ae2b503f display improvements 2014-06-05 17:10:58 -04:00
Joey Hess 0f4e219838 can now derive Show for Attr 2014-06-05 17:07:02 -04:00
Joey Hess 4ac314fb48 Apt.stdSourcesList no longer needs a suite to be specified. 2014-06-05 17:01:32 -04:00
Joey Hess dbffd982ba fix os attribute 2014-06-05 16:52:41 -04:00
Joey Hess a2db41b4e8 add show instance for Host
doable now that Attr setting is cleaned up, and makes debugging easier
2014-06-05 16:48:17 -04:00
Joey Hess 6dd22d3f26
propellor spin 2014-06-05 16:39:35 -04:00
Joey Hess 1cf1e21532 remove sysvinit by installing systemd 2014-06-05 16:24:47 -04:00
Joey Hess d75cd6c7a3 remove sysvinit and systemd from my docker images
sysvinit hangs on upgrade if not running
2014-06-05 16:19:34 -04:00
Joey Hess 740740d215 Added --dump to dump out a field of a host's privdata. Useful for editing it. 2014-06-01 16:58:05 -04:00
Joey Hess d224463dcd comment 2014-06-01 15:07:17 -04:00
Joey Hess d65a07c701
propellor spin 2014-06-01 14:37:44 -04:00
Joey Hess 3df3fd1746
propellor spin 2014-06-01 13:40:06 -04:00
Joey Hess c224625734
propellor spin 2014-06-01 13:35:21 -04:00
Joey Hess e32408f4e8
propellor spin 2014-06-01 13:07:31 -04:00
Joey Hess 5799b89d9f filter out dup CNAMES
This happens when a docker host has an alias defined, because all docker
hosts are added to the dns, same as other hosts.
2014-06-01 07:32:16 -04:00
Joey Hess 442dbe2311
propellor spin 2014-06-01 02:53:42 -04:00
Joey Hess cae7e15f56 split out DockerAttr 2014-05-31 22:00:11 -04:00
Joey Hess b0f2478bcb docker haddock 2014-05-31 21:44:50 -04:00
Joey Hess 31d9dd297d
propellor spin 2014-05-31 21:36:09 -04:00
Joey Hess d1aaf06f1c reorder for consistency
Onrder does not matter for mappend on set
2014-05-31 21:19:07 -04:00
Joey Hess 7c4b153739 simplify monoid instance with some helper types 2014-05-31 21:18:36 -04:00
Joey Hess d1eafb1277 correct order (didn't really cause any breakage) 2014-05-31 21:08:50 -04:00
Joey Hess 58c8d74b4c simplified record accessors 2014-05-31 20:48:23 -04:00
Joey Hess 4f70fceb3a got rid of the Attr -> Attr SetAttr hack, and use monoids for Attr
The SetAttr hack used to be needed because the hostname was part of the
Attr, and was required to be present. Now that it's moved to Host, let's
get rid of that, since it tended to waste CPU.
2014-05-31 20:43:23 -04:00
Joey Hess 4c96b0681c
propellor spin 2014-05-31 18:52:42 -04:00
Joey Hess 4722b62e45
propellor spin 2014-05-31 18:40:34 -04:00
Joey Hess 5fc4b00651 remove now redundant _hostname field of Attr
Now that Host includes _hostName, it's redundant to also keep it in Attr.

This requires changing the reader monad to operate on the whole Host.
2014-05-31 18:04:41 -04:00
Joey Hess c742c2eb1b
propellor spin 2014-05-31 17:22:35 -04:00
Joey Hess 6383d8c388
propellor spin 2014-05-31 16:48:14 -04:00
Joey Hess c7b7471778
propellor spin 2014-05-31 14:28:12 -04:00
Joey Hess 8e57f0bbfb
propellor spin 2014-05-31 14:19:46 -04:00
Joey Hess 5a895c21b5
propellor spin 2014-05-31 14:15:16 -04:00