File: 2011-03-15

package info (click to toggle)
cdist 7.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,992 kB
  • sloc: sh: 16,815; python: 9,199; makefile: 344; awk: 261
file content (27 lines) | stat: -rw-r--r-- 747 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Steven, Nico

How to handle dependencies:

1) Add --require parameter for all types
   - Special handling in cdist-type-emulator
   + Everything on one line

2) Add __require type
   + No change in core
   - Type influences core
   - Additional line
   - Core needs to know about requirements

3) cdist-require as a seperate executable
   + No change in cdist-type-emulator
   - new behaviour
   - first time cdist-xxx dependency in types

4) require="" environment variable for cdist-type-emulator
   + on one line / same context
   + special handling is ok for special case
   + doesn't touch parameters (i.e. type still has full control)

--------------------------------------------------------------------------------

Result: Use version 4.