Greg Price [Sat, 31 Jan 2009 08:22:22 +0000 (03:22 -0500)]
depend on remctl-client in invirt-base, not invirt-web
svn path=/trunk/packages/invirt-base/; revision=2052
Greg Price [Fri, 30 Jan 2009 10:59:24 +0000 (05:59 -0500)]
fix whitespace in debathena.list
svn path=/trunk/packages/invirt-base/; revision=2025
Evan Broder [Mon, 26 Jan 2009 13:54:37 +0000 (08:54 -0500)]
Use a trigger in invirt-base to run invirt-reload instead of the
postinst of xvm-*config.
svn path=/trunk/packages/invirt-base/; revision=2009
Greg Price [Mon, 29 Dec 2008 00:27:15 +0000 (19:27 -0500)]
invirt.common: handle yaml's None with empty struct for good error message
svn path=/trunk/packages/invirt-base/; revision=1935
Greg Price [Mon, 29 Dec 2008 00:20:07 +0000 (19:20 -0500)]
invirt.common: give clearer error message on missing config variable
svn path=/trunk/packages/invirt-base/; revision=1934
Greg Price [Mon, 29 Dec 2008 00:19:55 +0000 (19:19 -0500)]
invirt.config: fix an error on empty config files
svn path=/trunk/packages/invirt-base/; revision=1933
Greg Price [Sun, 28 Dec 2008 07:56:22 +0000 (02:56 -0500)]
document config-init.sh better
svn path=/trunk/packages/invirt-base/; revision=1929
Greg Price [Sun, 28 Dec 2008 07:56:18 +0000 (02:56 -0500)]
config-init.sh: degrade to non-bash gracefully
svn path=/trunk/packages/invirt-base/; revision=1928
Greg Price [Sun, 28 Dec 2008 06:01:06 +0000 (01:01 -0500)]
invirt.config.run_parts_list: fix unclear docstring
svn path=/trunk/packages/invirt-base/; revision=1926
Greg Price [Sat, 27 Dec 2008 04:57:33 +0000 (23:57 -0500)]
move apticron, molly-guard dependencies to xvm metapackages from invirt-base
svn path=/trunk/packages/invirt-base/; revision=1910
Evan Broder [Thu, 11 Dec 2008 04:21:24 +0000 (23:21 -0500)]
config.{authn[0] => kerberos}.realm
svn path=/trunk/packages/invirt-base/; revision=1836
Evan Broder [Sun, 7 Dec 2008 14:26:40 +0000 (09:26 -0500)]
Stop depending on invirt-mail-config in invirt-base
This was basically an attempt to stuff an XVM site-specific config
into the namespace of invirt packages. If we don't expect other users
of invirt to roll their own packages, we should depend on packages
they can't provide.
The dependency on xvm-mail-config will move into a set of xvm
metapackages
svn path=/trunk/packages/invirt-base/; revision=1803
Evan Broder [Sat, 6 Dec 2008 20:02:24 +0000 (15:02 -0500)]
Move the prod .k5login file to xvm-prodconfig
svn path=/trunk/packages/invirt-base/; revision=1793
Evan Broder [Fri, 21 Nov 2008 03:46:55 +0000 (22:46 -0500)]
Add a dependency on apticron for all servers
svn path=/trunk/packages/invirt-base/; revision=1727
Evan Broder [Sat, 15 Nov 2008 15:16:42 +0000 (10:16 -0500)]
Update apt sources list for prod
svn path=/trunk/packages/invirt-base/; revision=1646
Evan Broder [Wed, 12 Nov 2008 10:59:37 +0000 (05:59 -0500)]
Fix another typo - this one in invirt.common
svn path=/trunk/packages/invirt-base/; revision=1623
Evan Broder [Wed, 12 Nov 2008 08:30:56 +0000 (03:30 -0500)]
Fix a missing import in the invirt.remctl code
svn path=/trunk/packages/invirt-base/; revision=1621
Evan Broder [Tue, 11 Nov 2008 09:32:17 +0000 (04:32 -0500)]
Actually generalize the invirt.remctl module
svn path=/trunk/packages/invirt-base/; revision=1614
Evan Broder [Tue, 11 Nov 2008 08:50:13 +0000 (03:50 -0500)]
Move the remctl code into invirt.remctl
svn path=/trunk/packages/invirt-base/; revision=1613
Evan Broder [Tue, 11 Nov 2008 08:50:12 +0000 (03:50 -0500)]
Move CodeError and InvalidInput into invirt.common
svn path=/trunk/packages/invirt-base/; revision=1612
Greg Price [Tue, 11 Nov 2008 03:48:31 +0000 (22:48 -0500)]
invirt-reload should force-reload, not just reload
svn path=/trunk/packages/invirt-base/; revision=1609
Evan Broder [Mon, 10 Nov 2008 20:20:04 +0000 (15:20 -0500)]
Move invirt.remote Python module to invirt-remote-server
svn path=/trunk/packages/invirt-base/; revision=1597
Evan Broder [Fri, 7 Nov 2008 03:58:51 +0000 (22:58 -0500)]
Actually depend on invirt-mail-config on /all/ servers
svn path=/trunk/packages/invirt-base/; revision=1558
Evan Broder [Mon, 3 Nov 2008 08:42:24 +0000 (03:42 -0500)]
All servers should have molly-guard installed to prevent...accidents
svn path=/trunk/packages/invirt-base/; revision=1513
Evan Broder [Sat, 1 Nov 2008 08:53:30 +0000 (04:53 -0400)]
Punt references to sipb-xen- packages from invirt-reload
svn path=/trunk/packages/invirt-base/; revision=1499
Evan Broder [Fri, 31 Oct 2008 10:34:18 +0000 (06:34 -0400)]
Use invoke-rc.d instead of calling init scripts directly in
invirt-base's config-init.sh
svn path=/trunk/packages/invirt-base/; revision=1445
Greg Price [Wed, 29 Oct 2008 04:46:37 +0000 (00:46 -0400)]
create conf.d directory with .dirs file
svn path=/trunk/packages/invirt-base/; revision=1424
Greg Price [Wed, 29 Oct 2008 04:44:46 +0000 (00:44 -0400)]
use run-parts semantics in conf.d directory
svn path=/trunk/packages/invirt-base/; revision=1423
Greg Price [Wed, 29 Oct 2008 04:44:45 +0000 (00:44 -0400)]
use /etc/invirt/conf.d/ too in invirt.config
svn path=/trunk/packages/invirt-base/; revision=1422
Greg Price [Wed, 29 Oct 2008 04:44:44 +0000 (00:44 -0400)]
factor a bit of code out of the mondo invirt.config.load()
svn path=/trunk/packages/invirt-base/; revision=1421
Greg Price [Wed, 29 Oct 2008 04:44:42 +0000 (00:44 -0400)]
eliminate choice of source and cache files in invirt config
svn path=/trunk/packages/invirt-base/; revision=1420
Greg Price [Sun, 26 Oct 2008 09:07:49 +0000 (05:07 -0400)]
look in /invirt as apt repo URI rather than /sipb-xen
svn path=/trunk/packages/invirt-base/; revision=1332
Greg Price [Sun, 26 Oct 2008 09:07:33 +0000 (05:07 -0400)]
sipb-xen-base -> invirt-base
svn path=/trunk/packages/sipb-xen-base/; revision=1330
Greg Price [Sun, 26 Oct 2008 01:11:40 +0000 (21:11 -0400)]
fix gen-files.sh to degrade gracefully to plain-old sh
svn path=/trunk/packages/sipb-xen-base/; revision=1303
Greg Price [Sat, 25 Oct 2008 20:54:08 +0000 (16:54 -0400)]
std-init.sh to put the usual initscript boilerplate in one place
svn path=/trunk/packages/sipb-xen-base/; revision=1252
Evan Broder [Fri, 24 Oct 2008 17:20:27 +0000 (13:20 -0400)]
Use invoke-rc.d in invirt-reload so that policy-rc.d is respected
svn path=/trunk/packages/sipb-xen-base/; revision=1220
Evan Broder [Fri, 24 Oct 2008 17:03:46 +0000 (13:03 -0400)]
Move invirt-reload to /usr/sbin in sipb-xen-base
svn path=/trunk/packages/sipb-xen-base/; revision=1218
Greg Price [Fri, 24 Oct 2008 11:10:25 +0000 (07:10 -0400)]
factor out common initscript code
svn path=/trunk/packages/sipb-xen-base/; revision=1211
Evan Broder [Fri, 24 Oct 2008 09:47:22 +0000 (05:47 -0400)]
Add the appropriate build-deps to sipb-xen-base so it'll actually
build
svn path=/trunk/packages/sipb-xen-base/; revision=1209
Evan Broder [Fri, 24 Oct 2008 09:47:21 +0000 (05:47 -0400)]
Small fix in the code to parse the debian/control and debian/changelog
files in sipb-xen-base's setup.py
svn path=/trunk/packages/sipb-xen-base/; revision=1208
Evan Broder [Fri, 24 Oct 2008 09:30:49 +0000 (05:30 -0400)]
Update sipb-xen-base's debian/control to match Debian Python Policy
svn path=/trunk/packages/sipb-xen-base/; revision=1207
Evan Broder [Fri, 24 Oct 2008 09:23:54 +0000 (05:23 -0400)]
Switch sipb-xen-base to build using a setup.py script
svn path=/trunk/packages/sipb-xen-base/; revision=1206
Greg Price [Fri, 24 Oct 2008 08:57:02 +0000 (04:57 -0400)]
fix our copyright files
E.g., this is free software.
svn path=/trunk/packages/sipb-xen-base/; revision=1205
Evan Broder [Fri, 24 Oct 2008 07:35:21 +0000 (03:35 -0400)]
Now that we're using Python 2.5, we can actually write with statements
svn path=/trunk/packages/sipb-xen-base/; revision=1197
Evan Broder [Thu, 2 Oct 2008 23:51:38 +0000 (19:51 -0400)]
Use Hardy's Debathena
svn path=/trunk/packages/sipb-xen-base/; revision=1009
Greg Price [Thu, 2 Oct 2008 00:07:54 +0000 (20:07 -0400)]
update sources.list.d file for prod and hardy
svn path=/trunk/packages/sipb-xen-base/; revision=995
Greg Price [Wed, 1 Oct 2008 04:00:02 +0000 (00:00 -0400)]
fix distribution hardy -> unstable in several changelogs
Didn't notice this when I was working from a livecd the other day.
svn path=/trunk/packages/sipb-xen-base/; revision=959
Greg Price [Mon, 29 Sep 2008 06:05:56 +0000 (02:05 -0400)]
depend on invirt-config in sipb-xen-base
invirt-config is provided by xvm-devconfig and xvm-prodconfig.
For other users preferring other config mechanisms we might make
a trivial package that also provides invirt-config.
svn path=/trunk/packages/sipb-xen-base/; revision=945
Sam Hartman [Fri, 22 Aug 2008 20:37:32 +0000 (16:37 -0400)]
Use production k5login until it is configurized
document changes
svn path=/trunk/packages/sipb-xen-base/; revision=904
Sam Hartman [Fri, 22 Aug 2008 20:21:17 +0000 (16:21 -0400)]
Include openafs component
svn path=/trunk/packages/sipb-xen-base/; revision=903
Sam Hartman [Tue, 19 Aug 2008 17:47:19 +0000 (13:47 -0400)]
build-depend on pysupport
svn path=/trunk/packages/sipb-xen-base/; revision=896
Yang Zhang [Wed, 13 Aug 2008 05:46:00 +0000 (01:46 -0400)]
* removed the `mako` program since python-mako already includes a
mako-render
svn path=/trunk/packages/sipb-xen-base/; revision=885
Yang Zhang [Wed, 13 Aug 2008 05:31:51 +0000 (01:31 -0400)]
forgot to commit
svn path=/trunk/packages/sipb-xen-base/; revision=884
Yang Zhang [Tue, 12 Aug 2008 20:01:45 +0000 (16:01 -0400)]
* added `mako` program for processing templates in invirt packages
svn path=/trunk/packages/sipb-xen-base/; revision=882
Greg Price [Sun, 3 Aug 2008 01:59:48 +0000 (21:59 -0400)]
sign packages in apt repo
svn path=/trunk/packages/sipb-xen-base/; revision=822
Yang Zhang [Sun, 3 Aug 2008 00:34:12 +0000 (20:34 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=817
Yang Zhang [Sun, 3 Aug 2008 00:28:18 +0000 (20:28 -0400)]
- use invirt.config to get hostnames
- refactoring: extracted bcast() function into invirt.remote package
- fixed os.rename import bug
- using correct default paths in invirt-getconf
svn path=/trunk/packages/sipb-xen-base/; revision=816
Greg Price [Sat, 2 Aug 2008 03:27:32 +0000 (23:27 -0400)]
todo lists for configuration
I looked through all the code for hardcoded details that should be moved
to configuration, and listed them in a file config.todo in each package
directory. These can be knocked off line-by-line as todo lists, and
removed when empty.
svn path=/trunk/packages/sipb-xen-base/; revision=810
Yang Zhang [Fri, 1 Aug 2008 06:34:31 +0000 (02:34 -0400)]
(partially) fixed the mtime comparison logic + comments
svn path=/trunk/packages/sipb-xen-base/; revision=807
Yang Zhang [Fri, 1 Aug 2008 05:11:58 +0000 (01:11 -0400)]
just read the master configuration if the cache refresh fails
svn path=/trunk/packages/sipb-xen-base/; revision=806
Greg Price [Thu, 31 Jul 2008 03:04:31 +0000 (23:04 -0400)]
fix an error message in invirt-getconf --ls
svn path=/trunk/packages/sipb-xen-base/; revision=802
Greg Price [Thu, 31 Jul 2008 02:13:02 +0000 (22:13 -0400)]
use yaml.CSafeDumper and yaml.CSafeLoader everywhere
also break some long lines to fit in 80 columns
svn path=/trunk/packages/sipb-xen-base/; revision=796
Yang Zhang [Thu, 31 Jul 2008 02:06:34 +0000 (22:06 -0400)]
oops
svn path=/trunk/packages/sipb-xen-base/; revision=795
Yang Zhang [Thu, 31 Jul 2008 01:56:29 +0000 (21:56 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=794
Yang Zhang [Thu, 31 Jul 2008 01:50:42 +0000 (21:50 -0400)]
added shared/exclusive locking; added shared locking of initial JSON cache read
svn path=/trunk/packages/sipb-xen-base/; revision=793
Greg Price [Thu, 31 Jul 2008 01:39:00 +0000 (21:39 -0400)]
fix bug in late-import of yaml in invirt.config
svn path=/trunk/packages/sipb-xen-base/; revision=792
Yang Zhang [Thu, 31 Jul 2008 01:34:23 +0000 (21:34 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=791
Yang Zhang [Thu, 31 Jul 2008 01:33:49 +0000 (21:33 -0400)]
removed the call to remove()
svn path=/trunk/packages/sipb-xen-base/; revision=790
Greg Price [Thu, 31 Jul 2008 01:27:08 +0000 (21:27 -0400)]
invirt-config: print non-leaves as YAML
svn path=/trunk/packages/sipb-xen-base/; revision=789
Greg Price [Thu, 31 Jul 2008 01:21:40 +0000 (21:21 -0400)]
show root in invirt-getconf, for empty/omitted path
svn path=/trunk/packages/sipb-xen-base/; revision=788
Greg Price [Thu, 31 Jul 2008 01:12:34 +0000 (21:12 -0400)]
add --ls/-l to invirt-getconf
svn path=/trunk/packages/sipb-xen-base/; revision=787
Greg Price [Thu, 31 Jul 2008 01:05:33 +0000 (21:05 -0400)]
expand with_* docstrings in invirt.common
svn path=/trunk/packages/sipb-xen-base/; revision=786
Yang Zhang [Wed, 30 Jul 2008 04:23:54 +0000 (00:23 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=785
Yang Zhang [Wed, 30 Jul 2008 03:39:06 +0000 (23:39 -0400)]
lazily import yaml for faster module load times
svn path=/trunk/packages/sipb-xen-base/; revision=784
Yang Zhang [Wed, 30 Jul 2008 02:35:51 +0000 (22:35 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=782
Yang Zhang [Wed, 30 Jul 2008 02:35:08 +0000 (22:35 -0400)]
* added file locking around cache
* cleanup
svn path=/trunk/packages/sipb-xen-base/; revision=781
Yang Zhang [Tue, 29 Jul 2008 05:36:50 +0000 (01:36 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=779
Yang Zhang [Tue, 29 Jul 2008 05:35:57 +0000 (01:35 -0400)]
* moved more generic code into `common` package
* silently fail if cache fails
* load the configuration on module load
* produce a struct-based representation of the configuration
* allowing full exception messages for OSErrors (default behavior)
* added some dependencies specs
svn path=/trunk/packages/sipb-xen-base/; revision=778
Yang Zhang [Mon, 28 Jul 2008 16:33:14 +0000 (12:33 -0400)]
added python dependencies
svn path=/trunk/packages/sipb-xen-base/; revision=774
Yang Zhang [Mon, 28 Jul 2008 16:26:04 +0000 (12:26 -0400)]
updated the changelog
svn path=/trunk/packages/sipb-xen-base/; revision=772
Yang Zhang [Mon, 28 Jul 2008 16:25:19 +0000 (12:25 -0400)]
- added timestamp-based JSON caching of configuration for faster loading
- exposed (more) options to command-line frontend
- improved error messages/handling/help
- removed all python 2.5-isms
- reformatted to fit project style conventions
svn path=/trunk/packages/sipb-xen-base/; revision=771
Greg Price [Mon, 28 Jul 2008 11:45:40 +0000 (07:45 -0400)]
back to 2.4 compatibility
Not dealing right now with a comprehensive upgrade.
svn path=/trunk/packages/sipb-xen-base/; revision=766
Yang Zhang [Mon, 28 Jul 2008 00:25:10 +0000 (20:25 -0400)]
added .version specifying python 2.5 only; updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=737
Yang Zhang [Mon, 28 Jul 2008 00:19:38 +0000 (20:19 -0400)]
added y_z to .k5login
svn path=/trunk/packages/sipb-xen-base/; revision=736
Yang Zhang [Mon, 28 Jul 2008 00:13:31 +0000 (20:13 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=734
Yang Zhang [Mon, 28 Jul 2008 00:11:04 +0000 (20:11 -0400)]
simple initial version of invirt-getconf simply reads & navigates yaml; fixed permissions
svn path=/trunk/packages/sipb-xen-base/; revision=733
Yang Zhang [Sun, 27 Jul 2008 23:26:22 +0000 (19:26 -0400)]
switched to python2.5
svn path=/trunk/packages/sipb-xen-base/; revision=729
Yang Zhang [Sun, 27 Jul 2008 23:12:24 +0000 (19:12 -0400)]
updated changelog
svn path=/trunk/packages/sipb-xen-base/; revision=727
Yang Zhang [Sun, 27 Jul 2008 22:48:28 +0000 (18:48 -0400)]
started adding simple configuration-loading module and getconfig frontend; checkpoint for moving dev to home machine which actually has yaml, etc.
svn path=/trunk/packages/sipb-xen-base/; revision=726
Greg Price [Sun, 27 Jul 2008 22:38:37 +0000 (18:38 -0400)]
begin a Python package 'invirt'
svn path=/trunk/packages/sipb-xen-base/; revision=725
Greg Price [Tue, 22 Jul 2008 00:39:43 +0000 (20:39 -0400)]
reload config changes on xvm-devconfig postinst
svn path=/trunk/packages/sipb-xen-base/; revision=702
Greg Price [Sun, 20 Jul 2008 18:01:55 +0000 (14:01 -0400)]
leave out debathena-system so we get only the packages we ask for
Even though Hesiod bash should be harmless.
svn path=/trunk/packages/sipb-xen-base/; revision=681
Greg Price [Sun, 20 Jul 2008 03:18:30 +0000 (23:18 -0400)]
sipb-xen-base: include debathena to make stuff like kerberos config easier
svn path=/trunk/packages/sipb-xen-base/; revision=673
Greg Price [Mon, 5 May 2008 00:28:52 +0000 (20:28 -0400)]
changelog
svn path=/trunk/packages/sipb-xen-base/; revision=498
Greg Price [Mon, 5 May 2008 00:27:54 +0000 (20:27 -0400)]
update k5login to black-mesa's current
svn path=/trunk/packages/sipb-xen-base/; revision=497
Greg Price [Thu, 1 May 2008 23:48:37 +0000 (19:48 -0400)]
include backports.org
svn path=/trunk/packages/sipb-xen-base/; revision=488
Greg Price [Sun, 27 Apr 2008 01:22:54 +0000 (21:22 -0400)]
actually use sources.list.d correctly
svn path=/trunk/packages/sipb-xen-base/; revision=459
Greg Price [Sun, 27 Apr 2008 01:07:25 +0000 (21:07 -0400)]
changelogs
svn path=/trunk/packages/sipb-xen-base/; revision=456
Greg Price [Sun, 27 Apr 2008 01:04:36 +0000 (21:04 -0400)]
use sources.list.d, and match black-mesa's sources.list
svn path=/trunk/packages/sipb-xen-base/; revision=455
Sam Hartman [Tue, 4 Sep 2007 19:49:00 +0000 (15:49 -0400)]
sipb-xen-dev is the new name
svn path=/trunk/packages/sipb-xen-base/sipb-xen-base/; revision=97