Skip to content

Commit c474eff

Browse files
authored
Merge pull request #16 from drupol/configuration-management
Add Configuration management section
2 parents a094348 + 35f801d commit c474eff

File tree

5 files changed

+435
-35
lines changed

5 files changed

+435
-35
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#import "../../src/thesis/imports/preamble.typ": *
2+
3+
#set align(left)
4+
5+
#table(
6+
columns: (1fr, 1fr, 1fr),
7+
stroke: none,
8+
table.header(
9+
[],
10+
table.vline(stroke: 1pt),
11+
[#align(center)[*Imperative*]],
12+
table.vline(stroke: .5pt),
13+
[#align(center)[*Declarative*]],
14+
table.hline(stroke: 1pt),
15+
),
16+
table.cell(align: horizon + center)[*Divergent*],
17+
table.hline(stroke: .5pt),
18+
[
19+
- Shell commands
20+
],
21+
[],
22+
table.cell(align: horizon + center)[*Convergent*],
23+
table.hline(stroke: .5pt),
24+
[
25+
- Ansible #cite(<ansible>, form: "normal")
26+
- Chef #cite(<chef>, form: "normal")
27+
- Docker #cite(<docker>, form: "normal")
28+
],
29+
[
30+
- Puppet #cite(<puppet>, form: "normal")
31+
- Terraform #cite(<terraform>, form: "normal")
32+
],
33+
table.hline(stroke: .5pt),
34+
table.cell(align: horizon + center)[*Congruent*],
35+
[],
36+
[
37+
- Guix #cite(<guixwebsite>, form: "normal")
38+
- Nix #cite(<nix>, form: "normal")
39+
],
40+
)
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
#import "../../src/thesis/imports/preamble.typ": *
2+
3+
#grid(
4+
columns: (1fr, 1fr, 1fr),
5+
gutter: 1em,
6+
[
7+
#set align(bottom)
8+
#figure(
9+
{
10+
set text(font: "Virgil 3 YOFF")
11+
cetz.canvas({
12+
cetz.draw.set-style(axes: (shared-zero: false))
13+
14+
plot.plot(
15+
size: (3, 3),
16+
axis-style: "school-book",
17+
y-label: [State],
18+
x-label: [Time],
19+
x-tick-step: none,
20+
y-tick-step: none,
21+
x-min: 0,
22+
x-max: 500,
23+
x-grid: true,
24+
y-min: 0,
25+
y-max: 500,
26+
{
27+
plot.add(
28+
((75, 75), (450, 500)),
29+
mark: "o",
30+
mark-style: (stroke: blue, fill: white),
31+
mark-size: .1,
32+
)
33+
plot.add(
34+
((75, 50), (450, 125)),
35+
mark: "o",
36+
style: (stroke: (paint: red, dash: "dashed")),
37+
mark-style: (stroke: red, fill: white),
38+
mark-size: .1,
39+
)
40+
},
41+
)
42+
})
43+
},
44+
caption: [Divergent],
45+
) <divergent-config-management>
46+
],
47+
[
48+
#set align(bottom)
49+
#figure(
50+
{
51+
set text(font: "Virgil 3 YOFF")
52+
cetz.canvas({
53+
cetz.draw.set-style(axes: (shared-zero: false))
54+
55+
plot.plot(
56+
size: (3, 3),
57+
y-label: [State],
58+
x-label: [Time],
59+
axis-style: "school-book",
60+
legend-style: (
61+
default-position: "north",
62+
stroke: none,
63+
),
64+
x-tick-step: none,
65+
y-tick-step: none,
66+
x-min: 0,
67+
x-max: 500,
68+
x-grid: true,
69+
y-min: 0,
70+
y-max: 500,
71+
{
72+
plot.add(
73+
((75, 125), (450, 300)),
74+
style: (stroke: (paint: red, dash: "dashed")),
75+
mark-style: (stroke: red, fill: white),
76+
mark-size: .1,
77+
mark: "o",
78+
label: "Target",
79+
)
80+
plot.add(
81+
((75, 500), (450, 325)),
82+
style: (
83+
stroke: (paint: blue),
84+
mark: (fill: blue, stroke: blue),
85+
),
86+
mark-style: (stroke: blue, fill: white),
87+
mark-size: .1,
88+
mark: "o",
89+
label: "Actual",
90+
)
91+
},
92+
)
93+
})
94+
},
95+
caption: [Convergent],
96+
) <convergent-config-management>
97+
],
98+
[
99+
#set align(bottom)
100+
#figure(
101+
{
102+
set text(font: "Virgil 3 YOFF")
103+
cetz.canvas({
104+
cetz.draw.set-style(axes: (shared-zero: false))
105+
106+
plot.plot(
107+
size: (3, 3),
108+
y-label: [State],
109+
x-label: [Time],
110+
axis-style: "school-book",
111+
x-tick-step: none,
112+
y-tick-step: none,
113+
x-min: 0,
114+
x-max: 500,
115+
x-grid: true,
116+
y-min: 0,
117+
y-max: 500,
118+
legend: "legend.inner-south-east",
119+
{
120+
plot.add(
121+
((75, 75), (450, 300)),
122+
mark: "o",
123+
mark-style: (stroke: blue, fill: white),
124+
mark-size: .1,
125+
)
126+
plot.add(
127+
((75, 50), (450, 275)),
128+
mark: "o",
129+
style: (stroke: (paint: red, dash: "dashed")),
130+
mark-style: (stroke: red, fill: white),
131+
mark-size: .1,
132+
)
133+
},
134+
)
135+
})
136+
},
137+
caption: [Congruent],
138+
) <congruent-config-management>
139+
],
140+
)

0 commit comments

Comments
 (0)