From 2cfb22a59b7c0497a4fddf96fa5a5118dcd361a5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Apr 2014 16:14:10 -0400 Subject: spit up TODO --- TODO | 31 ------------------------------- debian/rules | 2 +- doc/todo/docker_todo_list.mdwn | 8 ++++++++ doc/todo/hooks.mdwn | 7 +++++++ doc/todo/metapackage.mdwn | 5 +++++ doc/todo/ssh_hostkey_Attr.mdwn | 7 +++++++ propellor.cabal | 1 - 7 files changed, 28 insertions(+), 33 deletions(-) delete mode 100644 TODO create mode 100644 doc/todo/docker_todo_list.mdwn create mode 100644 doc/todo/hooks.mdwn create mode 100644 doc/todo/metapackage.mdwn create mode 100644 doc/todo/ssh_hostkey_Attr.mdwn diff --git a/TODO b/TODO deleted file mode 100644 index 275639dd..00000000 --- a/TODO +++ /dev/null @@ -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. diff --git a/debian/rules b/debian/rules index a87bf7f2..f5025b3f 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/doc/todo/docker_todo_list.mdwn b/doc/todo/docker_todo_list.mdwn new file mode 100644 index 00000000..65762cff --- /dev/null +++ b/doc/todo/docker_todo_list.mdwn @@ -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. diff --git a/doc/todo/hooks.mdwn b/doc/todo/hooks.mdwn new file mode 100644 index 00000000..a62aa5e7 --- /dev/null +++ b/doc/todo/hooks.mdwn @@ -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. diff --git a/doc/todo/metapackage.mdwn b/doc/todo/metapackage.mdwn new file mode 100644 index 00000000..cd7bc1fd --- /dev/null +++ b/doc/todo/metapackage.mdwn @@ -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. diff --git a/doc/todo/ssh_hostkey_Attr.mdwn b/doc/todo/ssh_hostkey_Attr.mdwn new file mode 100644 index 00000000..3f352543 --- /dev/null +++ b/doc/todo/ssh_hostkey_Attr.mdwn @@ -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) diff --git a/propellor.cabal b/propellor.cabal index 05e7cd92..df773b17 100644 --- a/propellor.cabal +++ b/propellor.cabal @@ -13,7 +13,6 @@ Category: Utility Extra-Source-Files: README.md doc/README.mdwn - TODO CHANGELOG Makefile config-simple.hs -- cgit v1.2.3