File: modus_operandi.html

package info (click to toggle)
cfengine3 3.0.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,452 kB
  • ctags: 6,615
  • sloc: ansic: 62,933; sh: 9,712; yacc: 347; makefile: 287; sql: 23
file content (65 lines) | stat: -rw-r--r-- 1,228 bytes parent folder | download | duplicates (2)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Modus operandi</title>
  </head>

  <body>
    <h1>Modus operandi</h1>

<h2>Ordering</h2>

Promises can be simultaneous or given in a particular order. The ordering
is defined below.

repeat: 
 Enable
 Garbage collection
 Resource Creation
 Resouce Modification
until done

Interfaces # enable communication
Process_stop
Signals    # garbage
 kill etc

Files:

 rename
 Tidy      # garbage
 Create|Copy
 Permissions
 Edit

Process_start (we don't say anything about how long it will last? - timeout)

Mount (could depend on processes)


<h2>Relationships</h2>

A line/text item is a property of a file's state (present)

A process is a property of an executable's state (running)

A signal is sent to a PID - this is a raw resource
A restart command is sent to a service name. This is a wrapping of a process/file association. bundle it.

Restart should be a body

body start name

{
start_command => "";

}

    <hr>
    <address><a href="mailto:mark@atlas">Mark Burgess</a></address>
<!-- Created: Thu May  1 12:08:58 CEST 2008 -->
<!-- hhmts start -->
Last modified: Sat May  3 14:55:34 CEST 2008
<!-- hhmts end -->
  </body>
</html>