Commit Graph

2457 Commits

Author SHA1 Message Date
Joey Hess f692e1ceb2 Merge branch 'joeyconfig' 2014-12-07 15:34:33 -04:00
Joey Hess d7d833b431 fix cron example 2014-12-07 15:34:29 -04:00
Joey Hess 0972b3ca2e old news 2014-12-07 15:29:30 -04:00
Joey Hess 41d5a6b708 add news item for propellor 1.1.0 2014-12-07 15:25:56 -04:00
Joey Hess abee353d9d Merge branch 'joeyconfig' 2014-12-07 15:24:21 -04:00
Joey Hess f9958e1611 prep release 2014-12-07 15:24:07 -04:00
Joey Hess 2fe0b28982 more uses for hostContext 2014-12-07 15:21:55 -04:00
Joey Hess 3b0b6f44dd improve 2014-12-07 15:20:50 -04:00
Joey Hess 089b7131a6 caution 2014-12-07 15:13:28 -04:00
Joey Hess d1cfcc416c fix display 2 2014-12-07 15:11:43 -04:00
Joey Hess 5bb761bcf1 fix comment display 2014-12-07 15:10:55 -04:00
Joey Hess 4051c8c6ae update 2014-12-07 15:08:17 -04:00
Joey Hess faf4c21ca1 Merge branch 'joeyconfig' 2014-12-07 15:07:03 -04:00
Joey Hess 9ca332e481 Fixed privdata introspection for User.hasPassword and User.hasSomePassword
This is not a complete fix for the problem that Info doen't propigate
from the called property when code does something like:

	do
		hostname <- asks hostName
		ensureProperty $ foo hostname

Instead, I just eliminated the need to implement hasPassword that way,
by making the PrivData Info use a HostContext which automatically
gets the right hostname passed to it.

All other uses of withPrivData don't have the problem. It's still possible
for the user to run into the problem if they write something like the
above, where foo is a property that uses privdata. However, all properties
that take a Context now also accept a HostContext, so it's at least less
likely the user needs to write that.
2014-12-07 15:03:06 -04:00
Joey Hess 8c12047b6b simplify using makeChange 2014-12-07 14:49:12 -04:00
Joey Hess 6a906c8a4c typo 2014-12-07 12:50:40 -04:00
Joey Hess 322ae878bb Merge branch 'joeyconfig'
Conflicts:
	privdata.joey/privdata.gpg
2014-12-07 12:04:58 -04:00
Joey Hess b7da90a915 comment 2014-12-07 12:04:30 -04:00
https://www.google.com/accounts/o8/id?id=AItOawluNCXp4EAAeZyhZLCOS48gn3p-qAPyhJ4 31e13031fe 2014-12-07 00:05:23 +00:00
Joey Hess dd40a05ced update 2014-12-06 16:15:08 -04:00
Joey Hess d782c413eb add root pw 2014-12-06 15:50:42 -04:00
Joey Hess 52a83a8911 enable shadow passwords
I have seen weird almost boot failures when they're disabled, including a
segfault.
2014-12-06 15:39:02 -04:00
Joey Hess 7983046cd5 update 2014-12-06 15:28:30 -04:00
Joey Hess bdbf787e2c keep and use Reboot.now 2014-12-06 13:32:53 -04:00
Joey Hess de02fa9f7b remove done part 2014-12-06 13:23:12 -04:00
Joey Hess 29442f222e Reboot.atEnd 2014-12-06 13:21:19 -04:00
James Valleroy ab3e9639a4 propellor spin 2014-12-06 10:10:39 -05:00
Joey Hess 62697c7b7f reboot at end of propellor run when clean os has been installed 2014-12-06 06:41:21 -04:00
Joey Hess fcff7762e3 endAction can be used to register an action to run once propellor has successfully run on a host. 2014-12-06 06:34:32 -04:00
Joey Hess c97dd0d708 spelling typo 2014-12-05 19:33:34 -04:00
Joey Hess a6e756791e Merge branch 'joeyconfig' 2014-12-05 17:54:45 -04:00
Joey Hess a7e71faaaa
forgot to add new Mount lib 2014-12-05 17:54:29 -04:00
Joey Hess 9805f132ac Merge branch 'joeyconfig' 2014-12-05 17:44:14 -04:00
Joey Hess 5ae6a302df some comments 2014-12-05 17:44:09 -04:00
Joey Hess 27b61c323f
propellor spin 2014-12-05 16:49:38 -04:00
Joey Hess 00ab240164 fix install of debootstrap from source 2014-12-05 16:48:52 -04:00
Joey Hess 35648961dd
propellor spin 2014-12-05 16:42:31 -04:00
Joey Hess 527975dffe hasSomePassword and hasPassword now check to make sure shadow passwords are enabled. 2014-12-05 16:33:23 -04:00
Joey Hess dbc76b1e52 Merge branch 'joeyconfig' 2014-12-05 16:23:07 -04:00
Joey Hess 2559b23482
Merge commit '5c686afab2279921f3da3baad792dc38d5c81687' into joeyconfig 2014-12-05 16:22:42 -04:00
Joey Hess bf9284d05c I have now successfully used propellor to convert a Fedora system into a bootable and fully working Debian system 2014-12-05 16:22:11 -04:00
Joey Hess 5c686afab2
propellor spin 2014-12-05 15:32:23 -04:00
Joey Hess ef8c1d22cd
propellor spin 2014-12-05 15:30:34 -04:00
Joey Hess ad822196aa
propellor spin 2014-12-05 14:40:08 -04:00
Joey Hess a2ee8e20da
propellor spin 2014-12-05 14:32:45 -04:00
Joey Hess 46bf569cf9
propellor spin 2014-12-05 14:14:02 -04:00
Joey Hess c24bdec620
propellor spin 2014-12-05 14:06:48 -04:00
Joey Hess be8317c790
propellor spin 2014-12-05 14:02:11 -04:00
Joey Hess 6f561ce164
propellor spin 2014-12-05 14:02:04 -04:00
Joey Hess 97e9433f1b rollback if renameing fails
This avoids leaving the system in a broken state where some directories
have been renamed away any others not.

Future work: If the rename list contains (foo, bar) and (newfoo,foo),
reorder the list to gather those two actions together to minimize
the amount of time that foo is missing. In case of power loss or something.
2014-12-05 12:50:01 -04:00