summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2014-10-23Revert "propellor spin"Joey Hess
This reverts commit ac7b182b5a0f3711414757d05bb461385516e700.
2014-10-23propellor spinJoey Hess
2014-10-23Revert "propellor spin"Joey Hess
This reverts commit 80f5b53f1b7fdc876d5e45df68c29f53bd9666b2.
2014-10-23Revert "propellor spin"Joey Hess
This reverts commit 45ce3a5e8ccf90e357dbaf6e0152daa4de88b7fd.
2014-10-23propellor spinJoey Hess
2014-10-23propellor spinJoey Hess
2014-10-23Revert "propellor spin"Joey Hess
This reverts commit 7637ea0af9ff4056cbdc16f25016785442d4b97e.
2014-10-23propellor spinJoey Hess
2014-10-23propellor spinJoey Hess
2014-10-23bugfixJoey Hess
2014-10-23propellor spinJoey Hess