spit up TODO

This commit is contained in:
Joey Hess 2014-04-19 16:14:10 -04:00
parent 36f87c7b7d
commit 2cfb22a59b
7 changed files with 28 additions and 33 deletions

31
TODO
View File

@ -1,31 +0,0 @@
* Need a way to run an action when a property changes, but only
run it once for the whole. For example, may want to restart apache,
but only once despite many config changes being made to satisfy
properties. onChange is a poor substitute.
* Display of docker container properties is a bit wonky. It always
says they are unchanged even when they changed and triggered a
reprovision.
* Should properties be a tree rather than a list?
* Need a way for a dns server host to look at the properties of
the other hosts and generate a zone file. For example, mapping
openid.kitenet.net to a CNAME to clam.kitenet.net, which is where
the docker container for that service is located. Moving containers
to a different host, or duplicating a container on multiple hosts
would then update DNS too
* There is no way for a property of a docker container to require
some property be met outside the container. For example, some servers
need ntp installed for a good date source.
* Docking a container in a host should add to the host any cnames that
are assigned to the container.
* Either `Ssh.hostKey` should set the sshPubKey attr
(which seems hard, as attrs need to be able to be calculated without
running any IO code, and here IO is needed along with decrypting the
PrivData..), or the public key should not be stored in
the PrivData, and instead configured using the attr.
Getting the ssh host key into the attr will allow automatically
exporting it via DNS (SSHFP record)
* Should be possible to generate a metapackage of all packages that
properties direct apt to install. Then any other packages can be
auto-removed. This would just be a matter of storing the apt-installed
packages in an Attr. Although not removing essential and base packages
could be problimatic.

2
debian/rules vendored
View File

@ -9,7 +9,7 @@ export CABAL=./Setup
override_dh_auto_build:
$(MAKE) build
override_dh_installdocs:
dh_installdocs README.md TODO
dh_installdocs doc/README.mdwn
override_dh_installman:
dh_installman debian/propellor.1

View File

@ -0,0 +1,8 @@
* Display of docker container properties is a bit wonky. It always
says they are unchanged even when they changed and triggered a
reprovision.
* There is no way for a property of a docker container to require
some property be met outside the container. For example, some servers
need ntp installed for a good date source.
* Docking a container in a host should add to the host any cnames that
are assigned to the container.

7
doc/todo/hooks.mdwn Normal file
View File

@ -0,0 +1,7 @@
* Need a way to run an action when a property changes, but only
run it once for the whole. For example, may want to restart apache,
but only once despite many config changes being made to satisfy
properties. onChange is a poor substitute.a
* Relatedly, a property that say, installs systemd needs to have a way
to reboot the system when a change is made. But this should only
happen at the very end, after everything else.

View File

@ -0,0 +1,5 @@
* Should be possible to generate a metapackage of all packages that
properties direct apt to install. Then any other packages can be
auto-removed. This would just be a matter of storing the apt-installed
packages in an Attr. Although not removing essential and base packages
could be problimatic.

View File

@ -0,0 +1,7 @@
* Either `Ssh.hostKey` should set the sshPubKey attr
(which seems hard, as attrs need to be able to be calculated without
running any IO code, and here IO is needed along with decrypting the
PrivData..), or the public key should not be stored in
the PrivData, and instead configured using the attr.
Getting the ssh host key into the attr will allow automatically
exporting it via DNS (SSHFP record)

View File

@ -13,7 +13,6 @@ Category: Utility
Extra-Source-Files:
README.md
doc/README.mdwn
TODO
CHANGELOG
Makefile
config-simple.hs