Permalink
Commits on Dec 11, 2009
  1. Low: build: fix docdir for autotools versions that do not support it …

    Florian Haas
    Florian Haas committed Dec 11, 2009
    …natively
    
    * * *
    spec fix
    
    --HG--
    extra : rebase_source : b258792f18a02f7c76a19c3d7b0e615541dfc83b
  2. Dev: jboss: refine argument processing (LF 2241)

    NAKAHIRA Kazutomo
    NAKAHIRA Kazutomo committed Dec 11, 2009
Commits on Dec 10, 2009
  1. Low: mysql: fix wrong parameter name in comment (thanks to bryan.gay+…

    dmuhamedagic committed Dec 10, 2009
    …linux_bugzilla@bryangay.com) (LF 2264)
  2. Low: build/doc: add BuildRequires for XML toolchain to RPM spec

    Florian Haas
    Florian Haas committed Dec 10, 2009
    Autotools tarballs have the man pages in $(EXTRA_DIST), so RPMs built
    from those tarballs should not need xsltproc or the DocBook DTDs. To
    enable building directly from a hg archive, however, include libxslt,
    the DocBook DTD package, and the DocBook stylesheet package in the
    BuildRequires list.
    
    --HG--
    extra : rebase_source : 518e2895f1f4daa2d8a19cdd3802827cd4bccae5
  3. Low: doc: highlight defaults in ra2refentry.xsl

    Florian Haas
    Florian Haas committed Dec 10, 2009
    --HG--
    extra : rebase_source : db3cc57c1ba7be2de3c121381fa112f7f6a4f261
  4. High: proftpd: new resource agent

    Achim Stumpf
    Achim Stumpf committed Dec 10, 2009
  5. Dev: build: include README.webapps properly, dtd target directory, etc

    dmuhamedagic committed Dec 10, 2009
    - ra-api-1.dtd goes to /usr/share/heartbeat
    - README.webapps included as doc
    - add COPYING and AUTHORS
    
    
    diff -r e13565f0ea8a doc/Makefile.am
    --- a/doc/Makefile.am	Wed Dec 09 16:33:15 2009 +0100
    +++ b/doc/Makefile.am	Thu Dec 10 03:21:59 2009 +0100
    @@ -36,10 +36,10 @@
     CLEANFILES              = $(man_MANS) $(xmlfiles) metadata-*.xml
    
     # TODO: add README and license files
    -doc_DATA		= README.webapps
    +doc_DATA		=
     man_MANS		=
    
    -EXTRA_DIST 		= $(man_MANS) $(doc_DATA)
    +EXTRA_DIST 		= $(man_MANS) $(doc_DATA) README.webapps
    
     # OCF_ROOT=. is necessary due to a sanity check in .ocf-shellfuncs
     # (which tests whether $OCF_ROOT points to a directory
    diff -r e13565f0ea8a heartbeat/Makefile.am
    --- a/heartbeat/Makefile.am	Wed Dec 09 16:33:15 2009 +0100
    +++ b/heartbeat/Makefile.am	Thu Dec 10 03:21:59 2009 +0100
    @@ -24,7 +24,7 @@
    
     ocfdir		        = $(OCF_RA_DIR)/heartbeat
    
    -dtddir			= $(datadir)/$(PACKAGE)
    +dtddir			= $(datadir)/heartbeat
     dtd_SCRIPTS		= ra-api-1.dtd
    
     if USE_IPV6ADDR
    diff -r e13565f0ea8a resource-agents.spec
    --- a/resource-agents.spec	Wed Dec 09 16:33:15 2009 +0100
    +++ b/resource-agents.spec	Thu Dec 10 03:21:59 2009 +0100
    @@ -156,10 +156,11 @@
     %{_sbindir}/ocf-tester
     %{_sbindir}/sfex_init
    
    -%dir %{_datadir}/resource-agents
    -%doc %{_datadir}/resource-agents/ra-api-1.dtd
    -%doc %{_docdir}/resource-agents/README.webapps
    +%doc AUTHORS
    +%doc COPYING
    +%doc %{_datadir}/heartbeat/ra-api-1.dtd
     %doc %{_mandir}/man7/*.7*
    +%doc doc/README.webapps
    
     # For compatability with pre-existing agents
     %dir %{_libdir}/heartbeat
Commits on Dec 9, 2009
  1. Low: doc: convert man pages to DocBook 4.4 so they build nicely on SL…

    Florian Haas
    Florian Haas committed Dec 9, 2009
    …ES 10 (LF 2258)
  2. Low: doc: add CTDB to list of autogenerated man pages (really, this t…

    Florian Haas
    Florian Haas committed Dec 9, 2009
    …ime) (LF 2256)
    
    Previous changeset a919473fb232 just contained a Makefile
    reorganization to make it easier to follow. _This_ changeset really
    adds ocf_heartbeat_CTDB.7 to the list of autogenerated man pages.
Commits on Dec 8, 2009
  1. Dev: ocf-shellfuncs: reduce ocf_is_probe and protect variables

    dmuhamedagic committed Dec 8, 2009
    - it's enough to do test ..., the return code will be properly
      set
    - if the RA is invoked outside of cluster (ocf-tester, etc), some
      variables may not be set
  2. Low: CTDB: fix trivial bashisms

    Florian Haas
    Florian Haas committed Dec 8, 2009
    Replace two instances of "[ $foo == $bar ]" with "[ $foo -eq $bar ]".
  3. Medium: CTDB: introduce OCF_FUNCTIONS_DIR, allow it to be overridden …

    Florian Haas
    Florian Haas committed Dec 8, 2009
    …(LF2239)
    
    Fixes bug LF 2239 for the newly added CTDB RA.
Commits on Dec 7, 2009
  1. High: apache: monitor operation of depth 10 for web applications (LF …

    dmuhamedagic committed Dec 7, 2009
    …2234)
    
    Usage is explained in the README file.
    
    Important changes supporting this feature:
    
    - support for curl(1)
    - the new parameters:
    	OCF_RESKEY_client
    	OCF_RESKEY_testurl
    	OCF_RESKEY_testregex10
    	OCF_RESKEY_testconffile
    	OCF_RESKEY_testname
    - add "--no-proxy --bind-address=127.0.0.1" to wget options
    
    Also some code cleanup.
  2. Low: doc: add a sensible id attribute in ra2refentry.xsl

    Florian Haas
    Florian Haas committed Dec 7, 2009
    --HG--
    extra : rebase_source : 5ae12eb1c644c1041f7f3b2df25409acd248fa69
  3. Low: doc: do case-insensitive sort over RA man pages

    Florian Haas
    Florian Haas committed Dec 7, 2009
    In the DocBook appendix autogenerated from the RA man pages,
    sort RAs alphabetically by name, ignoring case.
    
    --HG--
    extra : rebase_source : 3969688ab30f90121094a4cd0ca379c6c34bf0ac
Commits on Dec 6, 2009
  1. High: doc: add man pages for all RAs (LF2237)

    Florian Haas
    Florian Haas committed Dec 6, 2009
    This adds a facility to create man pages from the resource agent
    metadata. The man pages list the RA description, supported parameters
    (with descriptions and defaults), and supported actions (with
    defaults). They also provide example configurations for the CRM shell.
    
    Since the man pages are generated via DocBook XML, the intermediate
    XML files may also be used for HTML and PDF documentation.
    
    ra2refentry.xsl script adapted from Dejan's original effort in the
    now-abandoned pacemaker-doc repository.
    
    This fixes LF bug 2237.
Commits on Dec 5, 2009
  1. Medium: Dev: make RAs executable (LF2239)

    Florian Haas
    Florian Haas committed Dec 5, 2009
    In combination with specifying OCF_FUNCTIONS_DIR, this makes RAs
    executable in-place (i.e. from the source directory). This is
    helpful for documentation tools extracting the RA metadata during
    a build, like so:
    
    OCF_ROOT=/ OCF_FUNCTIONS_DIR=$PWD ./Dummy meta-data
    
    (Note: specifiying OCF_ROOT=/ is necessary due to a sanity check
    in .ocf-shellfuncs which tests whether $OCF_ROOT points to a
    directory).
    
    This is part 2 of the fix for LF bug 2239.
Commits on Nov 30, 2009
  1. Medium: RA: Route: improve validate (LF 2232)

    Florian Haas
    Florian Haas committed Nov 30, 2009
    No longer exit with $OCF_ERR_INSTALLED during probes, if
    configured source or gateway IP addresses are not present.
    
    Fixes http://developerbugs.linux-foundation.org/show_bug.cgi?id=2232