summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
AgeCommit message (Collapse)Author
2015-04-02Make propellor resistent to changes to shared libraries, such as libffiJoey Hess
* Make propellor resistent to changes to shared libraries, such as libffi, which might render the propellor binary unable to run. This is dealt with by checking the binary both when running propellor on a remote host, and by Cron.runPropellor. If the binary doesn't work, it will be rebuilt. * Note that since a new switch had to be added to allow testing the binary, upgrading to this version will cause a rebuild from scratch of propellor.
2015-02-28Propellor now builds itself without needing the Makefile.Joey Hess
2015-01-19split out types to improve haddock for Propellor.TypesJoey Hess
2015-01-01Update intermediary propellor in --spin --viaJoey Hess
2014-11-23add --mergeJoey Hess
2014-11-23--spin can be passed multiple hosts, and it will provision each host in turn.Joey Hess
Note that if it fails to spin a host, it will stop. I think this is better than continuing to the next, because there might be a reason to spin hosts in some specific order (ie, update dns first and then use it).
2014-11-22reorgJoey Hess
2014-11-22look for /usr/local/propellor/.git to know if it's fully deployedJoey Hess
When propellor is deployed by uploading the binary, there's no git repo, so each spin needs to re-upload it to get any config changes. This should be rare since this is only intended to be used when taking over a host and getting it properly set up from source, but it still needs to be supported.
2014-11-22Hostname parameters not containing dots are looked up in the DNS to find the ↵Joey Hess
full hostname.
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22avoid unncessary apt-get upgradeJoey Hess
2014-11-22--via implementedJoey Hess
2014-11-22remove test hackJoey Hess
2014-11-22propellor spinJoey Hess
2014-11-22propellor --spin can now deploy propellor to hosts that do not have git, ↵Joey Hess
ghc, or apt-get. This is accomplished by uploading a fairly portable precompiled tarball of propellor.
2014-11-21propellor spinJoey Hess
2014-11-21avoid console output when chaining into chroot and not at consoleJoey Hess
2014-11-20propellor spinJoey Hess
2014-11-20git commit may or may not be signedJoey Hess
2014-11-20fix docker container provisioningJoey Hess
Since the containers are no longer on the host list, they were not found while provisioning, oops. To fix, had to add to a host's info a map of the containers docked to it. Unfortunately, that required Propellor.Types.Info be glommed into Propellor.Types, since it needed to refer to Host.
2014-11-19avoid double-build in --spinJoey Hess
It was fetching from the central repo, then building that, and then running the client-to-client git update, and the building after that. Remove the first build, as all that linking does take time.
2014-11-19remove excess verbosity from messageJoey Hess
2014-11-19prevent multiple concurrent provisioning inside docker containerJoey Hess
Lock a lock file while provisioning inside, otherwise propellor could be running to init the container when the system has just booted, or the container was just started from being stopped, and at the same time, propellor run outside the container chains into it to provision. Previously, simplesh prevented this in a different way.
2014-11-19propellor spinJoey Hess
2014-11-18clean up Propellr.CmdLine exportsJoey Hess
2014-11-18broke out Server moduleJoey Hess
2014-11-18tenseJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18refactorJoey Hess
2014-11-18refactorJoey Hess
2014-11-18reorger to match usageJoey Hess
2014-11-18fix long lineJoey Hess
2014-11-18reorgJoey Hess
2014-11-18add --update, which will one day replace --bootJoey Hess
But no time soon, since that would break --spin to old versions of propellor Maybe after 1 year?
2014-11-18remove what should be dead codeJoey Hess
While old propellor's can emit Ready, they won't if they've managed to updateFirst. If updateFirst fails due to eg, inaccessiable central repo, those old propellor's are not able to receive inline git pushes anyway, so are not going to update no matter what, so no point in making --spin work in that case.
2014-11-18remove --docker; use ContinueJoey Hess
And --chain was already not used.