summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Client tools: Remove unnecessary extra whitespaceSol Jerome2009-08-161-3/+3
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5408 ce84e21b-d406-0410-9b95-82705330c041
* Client tools: Prompt for service restart in Interactive mode (Patch from ↵Sol Jerome2009-07-251-0/+4
| | | | | | | | | | | | | | Leif Ryge) This commit causes the client tools prompt for a service restart when running in interactive mode. This keeps the client interface consistent with what happens when installing other configuration types. This commit also fixes ticket #605 Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5385 ce84e21b-d406-0410-9b95-82705330c041
* Client: relax verification modlist to include all entries in all bundlesNarayan Desai2009-07-231-7/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5381 ce84e21b-d406-0410-9b95-82705330c041
* APT/Client: Suppress known warningsSol Jerome2009-06-261-1/+11
| | | | | | | | | APT: Suppress APT api warning Client/Tools/__init__.py: Suppress popen2 deprecation warning Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5301 ce84e21b-d406-0410-9b95-82705330c041
* Revert "Remove last traces of popen2 from client code"Sol Jerome2009-05-271-12/+38
| | | | | | | | | | | This reverts commit 5167. We are still supporting python2.3 on the client. This can be redone once we start supporting 2.4 or greater. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5257 ce84e21b-d406-0410-9b95-82705330c041
* Remove deprecated RPM and Yum driversNarayan Desai2009-05-151-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5237 ce84e21b-d406-0410-9b95-82705330c041
* Python 2to3 updates for the Client toolsSol Jerome2009-04-241-4/+10
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5178 ce84e21b-d406-0410-9b95-82705330c041
* Remove last traces of popen2 from client codeSol Jerome2009-04-151-38/+12
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5167 ce84e21b-d406-0410-9b95-82705330c041
* Initial IPS (Opensolaris) driverNarayan Desai2009-04-011-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5146 ce84e21b-d406-0410-9b95-82705330c041
* Implement improved client-side error checking (will allow better error ↵Narayan Desai2009-02-181-0/+10
| | | | | | messages in cases of bind failures, etc) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5082 ce84e21b-d406-0410-9b95-82705330c041
* revert subprocess changes for the moment as wellNarayan Desai2009-02-091-12/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5070 ce84e21b-d406-0410-9b95-82705330c041
* Client tools infrastructure update for python 2.6 (From Kamil Kisiel)Narayan Desai2009-02-061-4/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5067 ce84e21b-d406-0410-9b95-82705330c041
* Simplify service configuration; make all services use common restart frameworkNarayan Desai2009-01-231-16/+43
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5040 ce84e21b-d406-0410-9b95-82705330c041
* Do not stop services in build mode (Partially resolves Ticket #624)Sol Jerome2008-12-111-4/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4993 ce84e21b-d406-0410-9b95-82705330c041
* pylint fixes for client codeNarayan Desai2008-12-081-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4991 ce84e21b-d406-0410-9b95-82705330c041
* Pylint formatting fixes for client tool driversSol Jerome2008-09-271-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4923 ce84e21b-d406-0410-9b95-82705330c041
* Fix two typos in error messagesNarayan Desai2008-08-211-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4886 ce84e21b-d406-0410-9b95-82705330c041
* revert mistaken prunedir changeNarayan Desai2008-08-051-5/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4855 ce84e21b-d406-0410-9b95-82705330c041
* SSHbase: improve tempfile handling (patch from f.pauget) (Resolves Ticket #588)Narayan Desai2008-08-051-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4854 ce84e21b-d406-0410-9b95-82705330c041
* - Add preliminary support for rc under FreeBSDRobert Gogolok2008-05-081-2/+2
| | | | | | | - TODOs git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4602 ce84e21b-d406-0410-9b95-82705330c041
* Remove validation states from Tool instances (in preparation for ↵Narayan Desai2008-03-171-18/+18
| | | | | | DecisionList stuff) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4423 ce84e21b-d406-0410-9b95-82705330c041
* Check for null attributesNarayan Desai2008-01-161-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4243 ce84e21b-d406-0410-9b95-82705330c041
* Implement data collection on incomplete entry path for POSIXNarayan Desai2007-11-031-0/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3911 ce84e21b-d406-0410-9b95-82705330c041
* Fix error in state handling (Resolves Ticket #479)Narayan Desai2007-11-031-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3908 ce84e21b-d406-0410-9b95-82705330c041
* Pass through modlist data for non package entriesNarayan Desai2007-10-111-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3794 ce84e21b-d406-0410-9b95-82705330c041
* Change incomplete entry reason to be an error, and include all missing ↵Narayan Desai2007-07-301-4/+11
| | | | | | attributes (Resolves Ticket #474) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3579 ce84e21b-d406-0410-9b95-82705330c041
* Switch default to RPMng/YUMng (RPM/Yum are still around just not enabled by ↵Narayan Desai2007-07-231-1/+1
| | | | | | default) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3548 ce84e21b-d406-0410-9b95-82705330c041
* Added debugging when verify or install fails due to lack of an attribute.Daniel Joseph Barnhart Clark2007-07-061-8/+10
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3421 ce84e21b-d406-0410-9b95-82705330c041
* Add preliminary support for FreeBSD Packages (from gogo)Narayan Desai2007-06-021-2/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3223 ce84e21b-d406-0410-9b95-82705330c041
* Fix build mode (Half Resolves Ticket #434)Narayan Desai2007-05-211-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3196 ce84e21b-d406-0410-9b95-82705330c041
* Add YUMng to list of available driversNarayan Desai2007-04-111-2/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3032 ce84e21b-d406-0410-9b95-82705330c041
* Add in verify-only version of the RPMng driver (Resolves Ticket #394)Narayan Desai2007-04-051-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3013 ce84e21b-d406-0410-9b95-82705330c041
* Add better driver control support to bcfg2 client (Resolves Ticket #389)Narayan Desai2007-04-051-0/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3012 ce84e21b-d406-0410-9b95-82705330c041
* Change to /etc/init.d/svc restart for DebInit services (Resolves Ticket #417)Narayan Desai2007-04-051-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3008 ce84e21b-d406-0410-9b95-82705330c041
* Add support for drivers not enabled by default (in preparation for addition ↵Narayan Desai2007-04-021-0/+2
| | | | | | of RPMng) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3002 ce84e21b-d406-0410-9b95-82705330c041
* Add Package Ignore support for barfooNarayan Desai2007-03-181-1/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2945 ce84e21b-d406-0410-9b95-82705330c041
* Include permissions entries in bundle modlistsNarayan Desai2007-02-151-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2813 ce84e21b-d406-0410-9b95-82705330c041
* add a sleep to executorNarayan Desai2007-02-031-1/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2780 ce84e21b-d406-0410-9b95-82705330c041
* Final executor fixNarayan Desai2007-02-031-0/+2
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2779 ce84e21b-d406-0410-9b95-82705330c041
* Fix executorNarayan Desai2007-02-031-6/+8
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2778 ce84e21b-d406-0410-9b95-82705330c041
* Implement complete Yum solutionNarayan Desai2007-02-011-1/+1
| | | | | | | | | * Add Yum into default loaded drivers * Add support for Yum to not use -y * Fix driver conflict setup git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2754 ce84e21b-d406-0410-9b95-82705330c041
* * Disable Yum driver for nowNarayan Desai2007-01-311-1/+1
| | | | | | | * Add info files as an alternative for :info files (Resolves Ticket #382) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2735 ce84e21b-d406-0410-9b95-82705330c041
* Implement Action supportNarayan Desai2007-01-241-2/+2
| | | | | | | | | | - Schema addition for bundles/rules - Tool driver for actions - Frame support for pre-actions and post-actions - Frame blacklist support (to preclude blocked entries from getting installed on the post-clobber pass) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2713 ce84e21b-d406-0410-9b95-82705330c041
* Commit infrastructure for Action driverNarayan Desai2007-01-231-1/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2711 ce84e21b-d406-0410-9b95-82705330c041
* Fix PostInstall/Yum driver loadNarayan Desai2007-01-181-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2698 ce84e21b-d406-0410-9b95-82705330c041
* Add version information for extra packages that use the ↵Narayan Desai2007-01-151-3/+4
| | | | | | PkgTool.FindExtraPackages method git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2675 ce84e21b-d406-0410-9b95-82705330c041
* Add Yum driverNarayan Desai2007-01-101-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2642 ce84e21b-d406-0410-9b95-82705330c041
* Report on service restart errors (Begin to address Debian Bug 406288)Narayan Desai2007-01-101-3/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2640 ce84e21b-d406-0410-9b95-82705330c041
* First working version of launchd support! Joey Hagedorn2007-01-081-1/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2630 ce84e21b-d406-0410-9b95-82705330c041
* Enabled launchd as valid service; support is completely untested at this ↵Joey Hagedorn2007-01-031-1/+1
| | | | | | point. To use; install launchd plist files as configuration files, then setup a launchd service entry to make sure the item is loaded. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2619 ce84e21b-d406-0410-9b95-82705330c041