Changes between Version 14 and Version 15 of Development/Templates/ClientSideDepsCheck
- Timestamp:
- Sep 29, 2008, 7:18:01 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/Templates/ClientSideDepsCheck
v14 v15 3 3 One of the annoying things about Quattor is that you can't check that a package set defined in a profile is consistent, i.e. that it doesn't require any more packages added to resolve dependencies. This can result in a frustrating sequence of "tweak package list, deploy profiles, run SPMA, check for dependency errors". The problem is that dependency information is not available when compiling profiles. 4 4 5 However, there is a tool that's very good at resolving dependency problems, and it's called YUM. The following recipe gives details of using YUM and a python utility called {{{checkdeps}}} (available at [source:SCDB/trunk/src/utils/profiles/checkdeps src/utils/profiles/checkdeps]) to detect dependency problems and suggest a solution. I've found that it takes about 30 seconds to check a profile, so you probably only want to do this for profiles that are causing problems, or as a final pre-deployment check.5 However, there is a tool that's very good at resolving dependency problems, and it's called YUM. The following recipe gives details of using YUM and a python utility called {{{checkdeps}}} (available at [source:SCDB/trunk/src/utils/profiles/checkdeps.py src/utils/profiles/checkdeps]) to detect dependency problems and suggest a solution. I've found that it takes about 30 seconds to check a profile, so you probably only want to do this for profiles that are causing problems, or as a final pre-deployment check. 6 6 7 7 = Create YUM repositories = … … 34 34 35 35 = Get checkdeps = 36 checkdeps is available in the SCDB distribution at [source:SCDB/trunk/src/utils/profiles/checkdeps src/utils/profiles/checkdeps]36 checkdeps is available in the SCDB distribution at [source:SCDB/trunk/src/utils/profiles/checkdeps.py src/utils/profiles/checkdeps.py] 37 37 38 38 = Run checkdeps =