summaryrefslogtreecommitdiff
path: root/src/Propellor
AgeCommit message (Collapse)Author
2014-11-18reorgJoey Hess
2014-11-18reorg and clean up bootstrap protocolJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18need to chain, not spinJoey Hess
2014-11-18avoid renaming --boot to --syncJoey Hess
That broke updating existing systems, since --boot is what makes the remote propellor update itself. The hostname is no longer needed by --boot for new propellor's, but is still passed for old ones. Note that there will be a double run of propellor when upgrading via --spin, because it now runs --boot followed by --spin on the remote host, and the old --boot also satisfied all properties.
2014-11-18Run remote propellor --spin with a controlling terminal.Joey Hess
Avoids need for hack to make ansi colors work, but also things like apt-get and wget process bars will be displayed.
2014-11-18ssh won't allocate a tty; work aroundJoey Hess
stdin is not a terminal, drat ssh I don't much like this workaround
2014-11-18propellor spinJoey Hess
2014-11-18propellor spinJoey Hess
2014-11-18can't rely on TERM; use hIsTerminalDeviceJoey Hess
This calls an ioctl, I don't think it's very expensive.
2014-11-18enable tty over sshJoey Hess
2014-11-18Avoid outputting color setting sequences when not run on a terminal.Joey Hess
Currently TERM is checked for every message. Could be memoized, but it would add complexity, and typical propellor output is not going to be more than a few hundred messages, and likely this will be swamped by the actual work.
2014-11-17Git: rename isRepo to isGitDirFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-17Git: isRepoFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-17DigitalOcean.distroKernel property now reboots into the distribution kernel ↵Joey Hess
when necessary. It might be better to do this check on boot to limit the time running the DO kernel (which is not well security supported), but that has the possibility of entering a bad reboot loop. Limiting this check to when propellor runs avoids that, while still fixing the problem pretty fast.
2014-11-15Convert GpgKeyId to newtypeJoey Hess
2014-11-15moving privdata to privdata.joey (for joeyconfig branch only)Joey Hess
This will be reverted on master. This way, my ongoing development on my joeyconfig branch, including privdata changes, won't result in changes being merged into the privdata/ dir on master. Such changes can cause problems for other propellor users, who can get conflicts in their own privdata when merging from master.
2014-11-15add Obnam backupEncryptedJoey Hess
This after I typoed an obnam setup and accidentially had a repo that was backing up non-encrypted.
2014-11-13Tor: change unlines to unwords in hiddenServiceFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-12Tor: change unlines to unwords in description messagesFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-11Tor: hiddenServiceDataFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-11Apt: stable-updates suiteFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-11avoid configuring git signing key when there's no secret keyJoey Hess
Also, nice display for --add-key steps
2014-11-11use --trust-model always to avoid prompt from gpgJoey Hess
gpg prompts when encrypting to an untrusted key, but if propellor has been told to add a key, we implicitly trust it.
2014-11-11propellor spinJoey Hess
2014-11-11reorgJoey Hess
2014-11-11split out gpg keyring related stuffJoey Hess
2014-11-11Tor: varRunFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-11Tor: rename 'varPath' to 'varLib'Félix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-11Tor: mainConfig, varPath, hidden service by hostnameFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-10didn't need quite so much indentationJoey Hess
2014-11-10Tor: hidden serviceFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-10basic prosody supportFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-11-08Docker: Stop using docker.io; that was a compat symlink in the Debian ↵Joey Hess
package which has been removed in docker.io 1.3.1~dfsg1-2.
2014-10-31Apache: Fix daemon reload when enabling a new module or site.Joey Hess
2014-10-31Propellor.Property.Nginx: use System.Posix.FilesFélix Sipma
Bug: the "onChange reloaded" in siteEnabled does not seem to be fired... Does it works in Propellor.Property.Apache.siteEnabled? Signed-off-by: Félix Sipma <gueux@gueux.org>
2014-10-31remove hardcoded pathJoey Hess
propellor runs as root, and /sbin should always be in root's path
2014-10-31changed indentation for consistency with the rest of propellorJoey Hess
2014-10-31added licensing headerArnaud Bailly
2014-10-31missing exportArnaud Bailly
2014-10-31smarter constructor for ruleArnaud Bailly
2014-10-31added firewall propertiesArnaud Bailly
2014-10-30basic nginx supportFélix Sipma
2014-10-23propellor spinJoey Hess
2014-10-23don't need RestartPolicy data type; simplifyJoey Hess
2014-10-23Fix loop when a docker host that does not exist was docked.Joey Hess
The problem is it fell back to looking for an alias for the bad hostname, but to get the aliases, it needs to know which hosts are docked where, so looped.
2014-10-23Revert "Revert "Revert "propellor spin"""Joey Hess
This reverts commit 26bef2486d27b2cde6feda633c6a7509675a3fe5.
2014-10-23Revert "Revert "propellor spin""Joey Hess
This reverts commit 8d353813bf1e4d0c64f33cf2beed0938eeca92b4.