summaryrefslogtreecommitdiffstats
path: root/redhat
Commit message (Collapse)AuthorAgeFilesLines
* init: wait even longer for bcfg2-server to stopChris St. Pierre2014-02-201-1/+1
|
* redhat: wait longer before kill -9'ing bcfg2-serverChris St. Pierre2014-02-141-1/+1
|
* redhat/systemd: The bcfg2 client is not forkingSol Jerome2013-12-241-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* redhat: Fix systemd script to use BCFG2_OPTIONSSol Jerome2013-12-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* removed unused redhat specfile, export.shChris St. Pierre2013-11-065-483/+0
|
* bcfg2-report-collector: removed extra slash from init scriptChris St. Pierre2013-08-061-1/+1
|
* bcfg2-report-collector: use separate sysconfig file from bcfg2-serverChris St. Pierre2013-08-051-1/+1
|
* Version bump to 1.3.2v1.3.2Sol Jerome2013-07-012-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Pass through retval from start, stop, status, etc.Michael Fenn2013-03-283-3/+13
| | | | | | | | | | | | | | | | | | The various init scripts have the usual start, stop, and status functions which are called from a case statement. The functions even nicely return various values for success and failure. Unfortunately, those values were not passed all the way back to the calling shell. Previously, the init scripts would return 0 if any of start, stop, or status failed. This commit ensures that they they pass the return value back to the caller. Why does this matter? Well, beyond just being generally good citizens, bcfg2's own chkconfig client tool expects stopped services to return a non-zero exit code when their status function is called. Otherwise it flags the service state as incorrect and tries to stop it on every run.
* Version bump to 1.3.1v1.3.1Sol Jerome2013-03-212-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.3.0v1.3.0Sol Jerome2013-03-152-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* changed to stock BSD 2-clause licenseChris St. Pierre2013-02-041-1/+1
|
* divided up Bcfg2/*.py files appropriately amongst bcfg2/bcfg2-server RPMsChris St. Pierre2013-01-301-1/+13
|
* Version bump to 1.3.0rc2v1.3.0rc2Sol Jerome2013-01-292-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Systemd: Fix path to PID fileJonathan Billings2013-01-151-2/+2
| | | | | Due to the way that the server drops privs, the PID file has to be saved into a subdirectory of /run.
* Systemd: Fix server systemd unitJonathan Billings2013-01-151-1/+2
| | | | | | | | | | | * Run the daemon with -D /run/bcfg2-server.pid. If you don't run it with -D PID, it doesn't fork, and since the unit file is Type=forking, the service eventually times out and fails. * Use the PIDFile unit option to give systemd a hint where the PID file is located. This is recommended when using Type=forking by the systemd documentation. * Use $BCFG2_SERVER_OPTIONS, which is defined in /etc/sysconfig/bcfg2-server, instead of $OPTIONS, which is not.
* Version bump to 1.3.0rc1Sol Jerome2013-01-092-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* removed obsolete schema doc XSLT stuff from spec filesChris St. Pierre2012-12-191-2/+0
|
* removed unnecessary cron path changes from redhat-specific specfileChris St. Pierre2012-11-261-3/+0
|
* add "status" command to bcfg2 init scriptsChris St. Pierre2012-11-141-5/+5
|
* Version bump to 1.3.0pre2v1.3.0pre2Sol Jerome2012-10-302-1/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added init script for bcfg2-report-collector that doesn't require redhat-lsbChris St. Pierre2012-10-191-0/+100
|
* Revert "added /var/run/bcfg2-server directory in spec files"Chris St. Pierre2012-10-091-2/+0
| | | | This reverts commit a20c012fca62bec92f3e99369ed6581485e8a153.
* added /var/run/bcfg2-server directory in spec filesChris St. Pierre2012-10-041-0/+2
|
* SELinux policy: set context for pidfiles in /var/run or /var/run/bcfg2-serverChris St. Pierre2012-10-041-1/+1
|
* changed default pidfile location in init scripts to allow easier privilege ↵Chris St. Pierre2012-10-042-2/+2
| | | | dropping
* SELinux policy: fixed some tmp file, database connection issuesChris St. Pierre2012-10-031-11/+17
|
* fleshed out selinux policyChris St. Pierre2012-10-032-4/+48
|
* initial selinux configsChris St. Pierre2012-10-033-0/+423
|
* Tweaks to init script start/stop order and runlevelsJohn Morris2012-09-092-2/+2
| | | | | | | | | | Change init scripts for both client and server: - Don't run in runlevel 2; autofs and others are disabled there - Start service much later, closer to httpd, after autofs has started - Stop service much sooner, near same services as start (cherry picked from commit c8e464d6cf0a5e099a9e6d41e943447db26ed8b9) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* added python-daemon requiresChris St. Pierre2012-09-051-0/+1
|
* require python-sphinx >= 1.0 across the board (for the other specfile now, too)Chris St. Pierre2012-09-041-5/+5
|
* redhat init scripts: Update to be more like the debian scriptsJohn Morris2012-09-032-43/+28
| | | | | | | | | | | | | | Fixing this script for RedHat; its advantage over the Debian script is the dependency on lsb drags in quite a number of extra, otherwise- unneeded packages. - Remove agent functions from bcfg2.init - Add success || failure messages - Include options from /etc/sysconfig/bcfg2* - Other snippets from debian script (cherry picked from commit 4034d6e503f1543223355f7aceb6aefd933fabb3) Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.3.0pre1Sol Jerome2012-08-313-2/+5
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.2.3Sol Jerome2012-08-151-1/+1
| | | | | | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> Conflicts: misc/bcfg2.spec setup.py
* Path fixedFabian Affolter2012-05-012-2/+2
|
* bcfg2-test requires noseChris St. Pierre2012-04-131-0/+1
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.2.2v1.2.2Sol Jerome2012-03-171-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.2.1v1.2.1Sol Jerome2012-01-271-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed specfiles (#1087)Chris St. Pierre2012-01-242-2/+3
|
* Version bump to 1.2.0v1.2.0Sol Jerome2011-12-071-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.2.0rc2v1.2.0rc2Sol Jerome2011-10-281-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Various Packages plugin fixes:Chris St. Pierre2011-10-191-0/+1
| | | | | | | | | | | | | * Added bcfg2-yum-helper to offload Yum API calls to a short-lived process. As absurd as this is, it appears to be the standard way to get around Yum's atrocious memory handling (cf. yum-updatesd). * Added SourceInitError for non-fatal errors instantiating new sources. * Fixed bug that caused all cached data to be removed on server startup (reported by mikemccllstr on IRC). * Fixed a number of overly aggressive caching issues. * Fixed the way sources are loaded at server startup. * Fixed handling of Yum package groups.
* Version bump to 1.2.0rc1v1.2.0rc1Sol Jerome2011-09-011-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Initial .service files addedFabian Affolter2011-07-032-0/+26
|
* Version bump to 1.2.0pre3v1.2.0pre3Sol Jerome2011-06-181-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Version bump to 1.2.0pre2v1.2.0pre2Sol Jerome2011-04-251-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Misc. build fixes:Chris St. Pierre2011-04-211-2/+6
| | | | | * fixed detection of RHEL version and python Sphinx path * added XSL file to do XSLT transform for build_dtddoc
* Lots of cleanup for bcfg2-repo-validate rewrite:Chris St. Pierre2011-04-211-1/+1
| | | | | | | | | * Changed all references to bcfg2-repo-validate in the documentation to bcfg2-lint * Wrote man pages for bcfg2-lint and bcfg2-lint.conf * Cleaned up straggling references to bcfg2-repo-validate in Makefiles, spec files, and the POSIX tool * A few minor bug fixes