Joey Hess
6d36de695c
add linkJournal property so it can be reverted to disable
2015-06-01 17:51:20 -04:00
Joey Hess
b4503a782b
explicitly speciy params for systemd-nspawn ExecStart
...
It was using whatever was in /lib/systemd/system/systemd-nspawn@.service,
but systemd 220 added --network-veth to that, which can break existing
setups. So don't do that.
2015-06-01 17:44:37 -04:00
Joey Hess
06ebb4593a
propellor spin
2015-06-01 17:00:57 -04:00
Joey Hess
c0b9c708c9
don't mount /proc when provisioning systemd-nspawn container
...
While needed for chroot provisioning, it confuses system when
systemd-nspawn runs it inside the container.
2015-06-01 16:22:15 -04:00
Joey Hess
85c3d11088
reorganize Port type for systemd can use it
2015-06-01 16:13:44 -04:00
Joey Hess
a50edc3d9f
better types for systemd port publishing
2015-06-01 16:05:31 -04:00
Joey Hess
a7045f737e
propellor spin
2015-06-01 14:51:56 -04:00
Joey Hess
65357750d2
Added publish property for systemd-spawn containers. (Needs systemd version 220.)
2015-06-01 14:18:36 -04:00
Joey Hess
a5bb972d94
remove Params constructor
...
Before it gets into released API...
2015-06-01 13:56:30 -04:00
Joey Hess
446a2e4c9a
update
2015-06-01 13:55:07 -04:00
Joey Hess
7b8b779360
revert test
2015-05-30 14:03:23 -04:00
Joey Hess
536d9fec70
propellor spin
2015-05-30 14:02:25 -04:00
Joey Hess
f23b10ffd6
Merge branch 'joeyconfig'
2015-05-30 13:58:59 -04:00
Joey Hess
433bf00a55
--spin now works when given a short hostname that only resolves to an ipv6 address.
2015-05-30 13:58:00 -04:00
Joey Hess
b36a75fd93
Merge branch 'joeyconfig'
2015-05-30 11:05:56 -04:00
Joey Hess
aa7dcad9ba
export createProcess with debug logging from Propellor.Property.Cmd
2015-05-30 11:05:34 -04:00
Joey Hess
95b6d711e7
Mount /proc inside a chroot before provisioning it, to work around #787227
2015-05-30 10:26:43 -04:00
Joey Hess
ea1598768c
Fix Postfix.satellite bug; the default relayhost was set to the domain, not to smtp.domain as documented.
2015-05-29 23:07:10 -04:00
Joey Hess
b5a8c7227b
workaround bug
2015-05-29 22:51:47 -04:00
Joey Hess
78fecfcba4
propellor spin
2015-05-29 19:18:35 -04:00
Joey Hess
c8f9e11779
Merge branch 'joeyconfig'
2015-05-29 10:09:22 -04:00
Joey Hess
8d98d4351b
reorder
2015-05-28 09:34:47 -04:00
Joey Hess
2c2247fc23
propellor spin
2015-05-27 21:24:50 -04:00
Joey Hess
0c86662b2d
propellor spin
2015-05-27 21:15:54 -04:00
Joey Hess
9ce43e55f8
Improve enter-machine scripts for nspawn containers to unset most environment variables.
2015-05-27 21:11:36 -04:00
Joey Hess
3c2349922d
propellor spin
2015-05-27 18:27:25 -04:00
Joey Hess
353d3e888b
merge changes from git-annex
2015-05-27 14:55:31 -04:00
Joey Hess
315a5688b8
Merge branch 'joeyconfig'
2015-05-27 12:39:29 -04:00
Joey Hess
626f1af56f
Export CommandParam, boolSystem, safeSystem and shellEscape from Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library.
...
Several imports of Utility.SafeCommand now redundant.
2015-05-27 12:38:45 -04:00
Joey Hess
d7ff70c727
merge changes from git-annex
2015-05-27 12:24:22 -04:00
Joey Hess
aeb47743d7
merge changes from git-annex
2015-05-27 12:18:42 -04:00
Joey Hess
0361b016ba
Merge branch 'joeyconfig'
...
Conflicts:
privdata.joey/privdata.gpg
2015-05-27 11:55:07 -04:00
Joey Hess
d38c48b97f
propellor spin
2015-05-26 11:24:22 -04:00
Joey Hess
3a99c87cdf
remove unnecessary use of ensureProperty
2015-05-24 17:12:17 -04:00
Joey Hess
b68b9ee165
propellor spin
2015-05-24 16:38:18 -04:00
Joey Hess
ff01339b8c
propellor spin
2015-05-22 15:49:30 -04:00
Joey Hess
56fe313887
propellor spin
2015-05-22 14:50:23 -04:00
Joey Hess
53f2646c45
Merge branch 'joeyconfig'
...
Conflicts:
privdata.joey/privdata.gpg
2015-05-22 14:16:16 -04:00
Joey Hess
e661aad6c4
merge
2015-05-22 13:34:20 -04:00
Joey Hess
de07d0f720
propellor spin
2015-05-22 11:03:17 -04:00
Joey Hess
ad3cc3e00d
propellor spin
2015-05-18 09:44:40 -04:00
Joey Hess
bdba36ea26
show docs in haddock
2015-05-18 00:37:50 -04:00
Joey Hess
4f925f982a
refactor
2015-05-18 00:25:55 -04:00
Joey Hess
dd7cfffcac
comment typo
2015-05-16 13:30:58 -04:00
Joey Hess
ed9203928b
add trivial HasImage instance for Image
2015-05-16 13:28:19 -04:00
Antoine Eiche
a781e43b22
Add HasImage type class which provides getImageName method to extract an image name. Image related functions now require a HasImage instance.
2015-05-16 13:26:43 -04:00
Joey Hess
40fc41b8c1
Merge branch 'joeyconfig'
2015-05-12 11:06:51 -04:00
Antoine Eiche
c83c68115f
Docker images related properties.
...
- a property to pull image from standard Docker Hub registry.
- a property to build image from a local directory (with a Dockerfile).
2015-05-12 11:05:47 -04:00
Antoine Eiche
3790a65dd5
add Docker.Container field labels containerImage and containerHost
2015-05-12 11:03:13 -04:00
Joey Hess
49ca7cb93f
Merge branch 'joeyconfig'
2015-05-07 12:18:23 -04:00
Joey Hess
63ccccb1bb
cmdProperty' renamed to cmdPropertyEnv to make way for a new, more generic cmdProperty' (API change)
2015-05-07 12:16:48 -04:00
Joey Hess
53a084632c
merge from git-annex
2015-05-07 12:08:26 -04:00
Joey Hess
9ec4b33dbb
Merge branch 'joeyconfig'
2015-05-06 14:29:12 -04:00
Joey Hess
e4432caa12
remove unused import
2015-04-29 14:44:56 -04:00
Joey Hess
6288393b4b
avoid checking build deps if cabal configures ok
2015-04-29 14:41:46 -04:00
Joey Hess
a584268334
Ensure build deps are installed before building propellor in --spin and cron job, even if propellor was already built before, to deal with upgrades that add new dependencies.
2015-04-29 14:31:54 -04:00
Joey Hess
15ab46fd52
propellor spin
2015-04-29 14:28:09 -04:00
Joey Hess
681e4dbbcb
propellor spin
2015-04-29 14:26:13 -04:00
Joey Hess
b4877efea5
Merge branch 'joeyconfig'
2015-04-28 16:01:19 -04:00
Joey Hess
960745b95e
won't be ueing stable here
2015-04-25 11:24:47 -04:00
Joey Hess
1706ca682e
Removed Obnam.latestVersion which was only needed for Debian wheezy backport.
2015-04-25 11:23:54 -04:00
Joey Hess
7964ed7caf
propellor spin
2015-04-23 11:58:37 -04:00
Joey Hess
2d7c493403
Merge branch 'joeyconfig'
...
Conflicts:
privdata.joey/privdata.gpg
2015-04-23 09:24:53 -04:00
Joey Hess
89b6629464
fix type signature, filepath and string params were flipped
...
thanks, gueux
2015-04-23 09:24:23 -04:00
Joey Hess
4c86f8adf5
propellor spin
2015-04-22 22:36:45 -04:00
Joey Hess
9699945ad4
Merge branch 'joeyconfig'
2015-04-22 21:00:45 -04:00
Jelmer Vernooij
c7a156a8c3
ensureProperty takes a list of commands to run, but Git.bareRepo
...
previously passed a list of arguments instead.
Signed-Off-By: Jelmer Vernooij <jelmer@debian.org>
2015-04-22 20:59:14 -04:00
Joey Hess
66a8012a1a
Merge branch 'joeyconfig'
...
Conflicts:
privdata.joey/privdata.gpg
2015-04-22 13:50:16 -04:00
Joey Hess
a3c1e8ada3
use new property
2015-04-22 13:48:52 -04:00
Joey Hess
f35ef9d697
API change: Added User and Group newtypes, and Properties that used to use the type UserName = String were changed to use them.
...
Note that UserName is kept and PrivData still uses it in its sum type.
This is to avoid breaking PrivData serialization.
2015-04-22 13:04:39 -04:00
Joey Hess
d3dbdb1f4d
propellor spin
2015-04-21 23:08:10 -04:00
Joey Hess
dc22e14341
propellor spin
2015-04-21 23:01:48 -04:00
Joey Hess
f7f758af28
propellor spin
2015-04-21 22:43:31 -04:00
Joey Hess
54f6972041
propellor spin
2015-04-21 22:39:35 -04:00
Joey Hess
a4a582089c
propellor spin
2015-04-21 22:23:29 -04:00
Joey Hess
0fc926934a
Merge branch 'joeyconfig'
2015-04-21 12:52:22 -04:00
Joey Hess
07be883258
debCdn changed to new httpredir.debian.org official replacement for http.debian.net.
2015-04-19 21:36:07 -04:00
Joey Hess
96631ad0cb
Merge branch 'joeyconfig'
2015-04-19 21:02:00 -04:00
Joey Hess
3d735c52f4
Added hasLoginShell and shellEnabled.
...
My code with some improvements from weinzwang.
2015-04-19 21:00:21 -04:00
Joey Hess
10ed35441f
Merge branch 'joeyconfig'
2015-04-19 12:51:12 -04:00
Joey Hess
b9a093c988
jessie is almost ready to be the new debian stable, update a few examples
...
no behavior changes
2015-04-19 09:41:40 -04:00
Joey Hess
08a38e705b
Merge branch 'joeyconfig'
2015-04-14 14:52:26 -04:00
Joey Hess
64adadd9ff
propellor spin
2015-04-12 15:10:03 -04:00
Joey Hess
9377e9ce7b
Merge branch 'joeyconfig'
...
Conflicts:
privdata.joey/privdata.gpg
2015-04-11 10:13:36 -04:00
Joey Hess
aa278d34a0
expand
2015-04-11 10:13:17 -04:00
Joey Hess
15569ee17a
remove ssh key from desc, too long
2015-04-09 00:42:51 -04:00
Joey Hess
c704271c52
propellor spin
2015-04-07 12:51:40 -04:00
Joey Hess
8d2e46ab98
propellor spin
2015-04-07 12:46:26 -04:00
Joey Hess
c25be89f87
propellor spin
2015-04-07 12:42:54 -04:00
Joey Hess
2c2cde0b5c
propellor spin
2015-04-07 12:36:52 -04:00
Joey Hess
ccdb432d2d
split out a module
2015-04-07 12:34:02 -04:00
Joey Hess
006b1c3585
Merge branch 'joeyconfig'
2015-04-02 10:26:51 -04:00
Joey Hess
1413e9c619
/dev/null any error from propellor --check
...
This includes "unknown option" from old versions of propellor..
2015-04-02 10:25:35 -04:00
Joey Hess
86783dc52d
Make propellor resistent to changes to shared libraries, such as libffi
...
* 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-04-02 10:20:44 -04:00
Joey Hess
fe7b1233f4
Merge branch 'joeyconfig'
2015-03-22 10:05:03 -04:00
Joey Hess
b32d05a661
simplify setup process for minimal config mode
...
Allow cloning a branch.
Updated wrapper to check for propellor.cabal and not try to update
if it's not present, to handle this case.
2015-03-22 10:04:02 -04:00
Joey Hess
cec0929a26
propellor spin
2015-03-21 09:52:58 -04:00
Joey Hess
c3aee9b545
propellor spin
2015-03-16 19:44:37 -04:00
Joey Hess
93fe81bae9
Merge branch 'joeyconfig'
2015-03-14 16:00:04 -04:00
Joey Hess
f5cbda9b3e
propellor spin
2015-03-13 16:50:44 -04:00