-
Notifications
You must be signed in to change notification settings - Fork 2
/
pe-bolt-server.html
161 lines (100 loc) · 4.6 KB
/
pe-bolt-server.html
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PE Bolt Server — slides</title>
<link rel="stylesheet" href="static/basic.css" type="text/css" />
<link rel="stylesheet" href="static/styles.css" type="text/css" />
<link rel="stylesheet" href="static/single.css" type="text/css" />
<link rel="stylesheet" href="static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2015.07.01',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="static/jquery.js"></script>
<script type="text/javascript" src="static/underscore.js"></script>
<script type="text/javascript" src="static/doctools.js"></script>
<script type="text/javascript" src="static/common.js"></script>
<script type="text/javascript" src="static/slides.js"></script>
<script type="text/javascript" src="static/sync.js"></script>
<script type="text/javascript" src="static/controller.js"></script>
<script type="text/javascript" src="static/init.js"></script>
<link rel="top" title="slides" href="index.html" />
<link rel="next" title="Linux System Fundamentals" href="single-system-fundamentals.html" />
<link rel="prev" title="Linux Jargon" href="linux-jargon.html" />
</head>
<body>
<section
id="slide_container"
class='slides layout-regular'>
<article class="slide level-1" id="pe-bolt-server">
<h1>PE Bolt Server</h1>
<p><a class="reference external" href="http://slides.lucywyman.me/pe-bolt-server.html">http://slides.lucywyman.me/pe-bolt-server.html</a></p>
</article>
<article class="slide level-2" id="what">
<h2>What?</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="static/bolt-cutters.gif"><img alt="static/bolt-cutters.gif" src="static/bolt-cutters.gif" style="height: 350px;" /></a>
</div>
<ul class="build simple">
<li>An API to expose bolt's SSH and WinRM transports</li>
<li>A thin ruby webserver (<a class="reference external" href="https://github.com/puma/puma">Puma</a>) wrapper around the <a class="reference external" href="https://github.com/puppetlabs/bolt/blob/master/lib/bolt/executor.rb">bolt executor</a></li>
<li>A PE service</li>
</ul>
</article>
<article class="slide level-2" id="decisions">
<h2>Decisions</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="static/small-wrench.gif"><img alt="static/small-wrench.gif" src="static/small-wrench.gif" style="height: 250px;" /></a>
</div>
<p>"Why isn't bolt-server a clojure service managed by Orchestrator?"</p>
<ul class="build simple">
<li>We wanted to be able to use Bolt classes directly</li>
<li>We didn't want to rewrite any parts of Bolt</li>
</ul>
</article>
<article class="slide level-2" id="id1">
<h2>Decisions</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="static/harry-potter-bolt.gif"><img alt="static/harry-potter-bolt.gif" src="static/harry-potter-bolt.gif" style="height: 250px;" /></a>
</div>
<p>"Why a webserver instead of sockets?"</p>
<ul class="build simple">
<li>Poor library support in ruby for sockets</li>
<li>Difficult for other teams to adopt</li>
</ul>
</article>
<article class="slide level-2" id="why">
<h2>Why?</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="static/bolt-why.gif"><img alt="static/bolt-why.gif" src="static/bolt-why.gif" style="height: 350px;" /></a>
</div>
<ul class="build simple">
<li>Enable the PE Console to run agentless tasks - part of the Road to Automation story</li>
<li>Generalize for other tools to use</li>
</ul>
</article>
<article class="slide level-2" id="other-resources">
<h2>Other Resources</h2>
<ul class="simple">
<li>Install from <a class="reference external" href="http://builds.puppetlabs.lan/pe-bolt-server/">http://builds.puppetlabs.lan/pe-bolt-server/</a></li>
<li>Docs at <code class="code docutils literal"><span class="pre">bolt/developer-docs</span></code></li>
<li>Available in Johnson builds</li>
</ul>
</article>
<article class="slide level-2" id="demo">
<h2>Demo</h2>
<div class="figure align-center">
<a class="reference internal image-reference" href="static/usain-bolt-yeah.gif"><img alt="static/usain-bolt-yeah.gif" src="static/usain-bolt-yeah.gif" style="height: 500px;" /></a>
</div>
</article>
</section>
<section id="slide_notes">
</section>
</body>
</html>