machinery-tool 1.24.0 → 1.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git_revision +1 -1
- data/NEWS +4 -0
- data/lib/man_task.rb +1 -1
- data/lib/version.rb +1 -1
- data/machinery-helper/version.go +1 -1
- data/man/generated/machinery.1.gz +0 -0
- data/manual/{docs/README.md → README.md} +0 -0
- data/manual/custom_theme/{base.html → main.html} +5 -5
- data/manual/docs/css/custom.css +17 -1
- data/manual/docs/{docs.md → docs/index.md} +1 -1
- data/manual/docs/{machinery-analyze.1.md → docs/machinery-analyze.1.md} +0 -0
- data/manual/docs/{machinery-build.1.md → docs/machinery-build.1.md} +0 -0
- data/manual/docs/{machinery-compare.1.md → docs/machinery-compare.1.md} +0 -0
- data/manual/docs/{machinery-config.1.md → docs/machinery-config.1.md} +0 -0
- data/manual/docs/{machinery-copy.1.md → docs/machinery-copy.1.md} +0 -0
- data/manual/docs/{machinery-deploy.1.md → docs/machinery-deploy.1.md} +0 -0
- data/manual/docs/{machinery-export-autoyast.1.md → docs/machinery-export-autoyast.1.md} +0 -0
- data/manual/docs/{machinery-export-html.1.md → docs/machinery-export-html.1.md} +0 -0
- data/manual/docs/{machinery-export-kiwi.1.md → docs/machinery-export-kiwi.1.md} +0 -0
- data/manual/docs/{machinery-inspect-container.1.md → docs/machinery-inspect-container.1.md} +2 -2
- data/manual/docs/{machinery-inspect.1.md → docs/machinery-inspect.1.md} +2 -2
- data/manual/docs/{machinery-list.1.md → docs/machinery-list.1.md} +0 -0
- data/manual/docs/{machinery-man.1.md → docs/machinery-man.1.md} +0 -0
- data/manual/docs/{machinery-move.1.md → docs/machinery-move.1.md} +0 -0
- data/manual/docs/{machinery-remove.1.md → docs/machinery-remove.1.md} +0 -0
- data/manual/docs/{machinery-serve.1.md → docs/machinery-serve.1.md} +0 -0
- data/manual/docs/{machinery-show.1.md → docs/machinery-show.1.md} +2 -2
- data/manual/docs/{machinery-upgrade-format.1.md → docs/machinery-upgrade-format.1.md} +0 -0
- data/manual/docs/{machinery-validate.1.md → docs/machinery-validate.1.md} +0 -0
- data/manual/docs/{machinery_main_general.1.md → docs/machinery_main_general.1.md} +1 -1
- data/manual/docs/{machinery_main_scopes.1.md → docs/machinery_main_scopes.1.md} +0 -0
- data/manual/docs/{machinery_main_security_implications.1.md → docs/machinery_main_security_implications.1.md} +3 -3
- data/manual/docs/{machinery_main_usecases.1.md → docs/machinery_main_usecases.1.md} +0 -0
- data/manual/mkdocs.yml +40 -26
- data/manual/site/css/custom.css +17 -1
- data/manual/site/docs/index.html +49 -4
- data/manual/site/docs/machinery-analyze.1/index.html +174 -0
- data/manual/site/docs/machinery-build.1/index.html +205 -0
- data/manual/site/docs/machinery-compare.1/index.html +207 -0
- data/manual/site/docs/machinery-config.1/index.html +182 -0
- data/manual/site/{machinery-analyze.1 → docs/machinery-copy.1}/index.html +55 -30
- data/manual/site/docs/machinery-deploy.1/index.html +207 -0
- data/manual/site/docs/machinery-export-autoyast.1/index.html +194 -0
- data/manual/site/docs/machinery-export-html.1/index.html +175 -0
- data/manual/site/docs/machinery-export-kiwi.1/index.html +176 -0
- data/manual/site/docs/machinery-inspect-container.1/index.html +249 -0
- data/manual/site/docs/machinery-inspect.1/index.html +292 -0
- data/manual/site/docs/machinery-list.1/index.html +187 -0
- data/manual/site/{machinery-config.1 → docs/machinery-man.1}/index.html +39 -30
- data/manual/site/{machinery-compare.1 → docs/machinery-move.1}/index.html +54 -30
- data/manual/site/docs/machinery-remove.1/index.html +182 -0
- data/manual/site/docs/machinery-serve.1/index.html +181 -0
- data/manual/site/docs/machinery-show.1/index.html +206 -0
- data/manual/site/docs/machinery-upgrade-format.1/index.html +180 -0
- data/manual/site/docs/machinery-validate.1/index.html +168 -0
- data/manual/site/docs/machinery_main_general.1/index.html +253 -0
- data/manual/site/docs/machinery_main_scopes.1/index.html +249 -0
- data/manual/site/docs/machinery_main_security_implications.1/index.html +228 -0
- data/manual/site/{machinery_main_usecases.1 → docs/machinery_main_usecases.1}/index.html +47 -28
- data/manual/site/index.html +390 -135
- data/manual/site/search/search_index.json +1 -1
- data/manual/site/sitemap.xml +24 -24
- data/manual/site/sitemap.xml.gz +0 -0
- metadata +51 -76
- data/manual/docs/custom.css +0 -804
- data/manual/docs/hand3.png +0 -0
- data/manual/docs/wheels.png +0 -0
- data/manual/site/404.html +0 -145
- data/manual/site/css/base.css +0 -324
- data/manual/site/css/bootstrap-custom.min.css +0 -1
- data/manual/site/css/font-awesome.min.css +0 -4
- data/manual/site/custom.css +0 -804
- data/manual/site/fonts/fontawesome-webfont.eot +0 -0
- data/manual/site/fonts/fontawesome-webfont.svg +0 -2671
- data/manual/site/fonts/fontawesome-webfont.ttf +0 -0
- data/manual/site/fonts/fontawesome-webfont.woff +0 -0
- data/manual/site/fonts/fontawesome-webfont.woff2 +0 -0
- data/manual/site/fonts/glyphicons-halflings-regular.eot +0 -0
- data/manual/site/fonts/glyphicons-halflings-regular.svg +0 -288
- data/manual/site/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/manual/site/fonts/glyphicons-halflings-regular.woff +0 -0
- data/manual/site/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/manual/site/hand3.png +0 -0
- data/manual/site/img/favicon.ico +0 -0
- data/manual/site/img/grid.png +0 -0
- data/manual/site/js/base.js +0 -216
- data/manual/site/js/bootstrap-3.0.3.min.js +0 -7
- data/manual/site/js/jquery-1.10.2.min.js +0 -6
- data/manual/site/machinery-build.1/index.html +0 -145
- data/manual/site/machinery-copy.1/index.html +0 -145
- data/manual/site/machinery-deploy.1/index.html +0 -145
- data/manual/site/machinery-export-autoyast.1/index.html +0 -145
- data/manual/site/machinery-export-html.1/index.html +0 -145
- data/manual/site/machinery-export-kiwi.1/index.html +0 -145
- data/manual/site/machinery-inspect-container.1/index.html +0 -145
- data/manual/site/machinery-inspect.1/index.html +0 -145
- data/manual/site/machinery-list.1/index.html +0 -145
- data/manual/site/machinery-man.1/index.html +0 -145
- data/manual/site/machinery-move.1/index.html +0 -145
- data/manual/site/machinery-remove.1/index.html +0 -145
- data/manual/site/machinery-serve.1/index.html +0 -145
- data/manual/site/machinery-show.1/index.html +0 -145
- data/manual/site/machinery-upgrade-format.1/index.html +0 -145
- data/manual/site/machinery-validate.1/index.html +0 -145
- data/manual/site/machinery_main_general.1/index.html +0 -145
- data/manual/site/machinery_main_scopes.1/index.html +0 -145
- data/manual/site/machinery_main_security_implications.1/index.html +0 -145
- data/manual/site/wheels.png +0 -0
@@ -0,0 +1,168 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link href="../../css/custom.css" rel="stylesheet">
|
6
|
+
</head>
|
7
|
+
<body id="manpage">
|
8
|
+
<div id="back">
|
9
|
+
<a href="../..">
|
10
|
+
<img src="../../img/hand3.png" class="hand3"/>
|
11
|
+
<div class="goback">Go back to the web site</div>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
<div class="mp">
|
15
|
+
<div class="nav">
|
16
|
+
<ul>
|
17
|
+
|
18
|
+
|
19
|
+
<li class="">
|
20
|
+
<a href="../">Welcome</a>
|
21
|
+
</li>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<li class="">
|
27
|
+
<a href="../machinery_main_general.1/">General Overview</a>
|
28
|
+
</li>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
<li class="">
|
34
|
+
<a href="../machinery_main_scopes.1/">Scopes</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
<li class="">
|
41
|
+
<a href="../machinery_main_usecases.1/">Use cases</a>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<li class="">
|
48
|
+
<a href="../machinery_main_security_implications.1/">Security Implications</a>
|
49
|
+
</li>
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
<li>Commands
|
55
|
+
<ul>
|
56
|
+
|
57
|
+
<li class="">
|
58
|
+
<a href="../machinery-analyze.1/">Analyze</a>
|
59
|
+
</li>
|
60
|
+
|
61
|
+
<li class="">
|
62
|
+
<a href="../machinery-build.1/">Build</a>
|
63
|
+
</li>
|
64
|
+
|
65
|
+
<li class="">
|
66
|
+
<a href="../machinery-compare.1/">Compare</a>
|
67
|
+
</li>
|
68
|
+
|
69
|
+
<li class="">
|
70
|
+
<a href="../machinery-config.1/">Config</a>
|
71
|
+
</li>
|
72
|
+
|
73
|
+
<li class="">
|
74
|
+
<a href="../machinery-copy.1/">Copy</a>
|
75
|
+
</li>
|
76
|
+
|
77
|
+
<li class="">
|
78
|
+
<a href="../machinery-deploy.1/">Deploy</a>
|
79
|
+
</li>
|
80
|
+
|
81
|
+
<li class="">
|
82
|
+
<a href="../machinery-export-autoyast.1/">Export AutoYaST</a>
|
83
|
+
</li>
|
84
|
+
|
85
|
+
<li class="">
|
86
|
+
<a href="../machinery-export-kiwi.1/">Export Kiwi</a>
|
87
|
+
</li>
|
88
|
+
|
89
|
+
<li class="">
|
90
|
+
<a href="../machinery-export-html.1/">Export HTML</a>
|
91
|
+
</li>
|
92
|
+
|
93
|
+
<li class="">
|
94
|
+
<a href="../machinery-inspect.1/">Inspect</a>
|
95
|
+
</li>
|
96
|
+
|
97
|
+
<li class="">
|
98
|
+
<a href="../machinery-inspect-container.1/">Inspect Container</a>
|
99
|
+
</li>
|
100
|
+
|
101
|
+
<li class="">
|
102
|
+
<a href="../machinery-list.1/">List</a>
|
103
|
+
</li>
|
104
|
+
|
105
|
+
<li class="">
|
106
|
+
<a href="../machinery-man.1/">Man</a>
|
107
|
+
</li>
|
108
|
+
|
109
|
+
<li class="">
|
110
|
+
<a href="../machinery-move.1/">Move</a>
|
111
|
+
</li>
|
112
|
+
|
113
|
+
<li class="">
|
114
|
+
<a href="../machinery-remove.1/">Remove</a>
|
115
|
+
</li>
|
116
|
+
|
117
|
+
<li class="">
|
118
|
+
<a href="../machinery-serve.1/">Serve</a>
|
119
|
+
</li>
|
120
|
+
|
121
|
+
<li class="">
|
122
|
+
<a href="../machinery-show.1/">Show</a>
|
123
|
+
</li>
|
124
|
+
|
125
|
+
<li class="">
|
126
|
+
<a href="../machinery-upgrade-format.1/">Upgrade Format</a>
|
127
|
+
</li>
|
128
|
+
|
129
|
+
<li class="current">
|
130
|
+
<a href="./">Validate</a>
|
131
|
+
</li>
|
132
|
+
|
133
|
+
</ul>
|
134
|
+
</li>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
</ul>
|
139
|
+
</div>
|
140
|
+
<div class="content">
|
141
|
+
<h1 id="validate-validate-system-description">validate — Validate System Description</h1>
|
142
|
+
<h2 id="synopsis">Synopsis</h2>
|
143
|
+
<p><code>machinery validate</code> NAME</p>
|
144
|
+
<p><code>machinery</code> help validate</p>
|
145
|
+
<h2 id="description">Description</h2>
|
146
|
+
<p>The <code>validate</code> subcommand validates an existing system description.
|
147
|
+
It checks, that the description has the correct structure and the data stored
|
148
|
+
there conforms to the required schema. It also verifies that all extracted files
|
149
|
+
are present on disk and that all files have meta information.</p>
|
150
|
+
<p>In case of issues errors are shown with additional information.</p>
|
151
|
+
<p>The main purpose of this command is to verify the system description after
|
152
|
+
manually editing it.</p>
|
153
|
+
<h2 id="arguments">Arguments</h2>
|
154
|
+
<ul>
|
155
|
+
<li><code>NAME</code> (required):
|
156
|
+
Name of the system description.</li>
|
157
|
+
</ul>
|
158
|
+
<h2 id="examples">Examples</h2>
|
159
|
+
<ul>
|
160
|
+
<li>
|
161
|
+
<p>Validate the system description with the name <code>myhost</code>:</p>
|
162
|
+
<p>$ <code>machinery</code> validate myhost</p>
|
163
|
+
</li>
|
164
|
+
</ul>
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
</body>
|
168
|
+
</html>
|
@@ -0,0 +1,253 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link href="../../css/custom.css" rel="stylesheet">
|
6
|
+
</head>
|
7
|
+
<body id="manpage">
|
8
|
+
<div id="back">
|
9
|
+
<a href="../..">
|
10
|
+
<img src="../../img/hand3.png" class="hand3"/>
|
11
|
+
<div class="goback">Go back to the web site</div>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
<div class="mp">
|
15
|
+
<div class="nav">
|
16
|
+
<ul>
|
17
|
+
|
18
|
+
|
19
|
+
<li class="">
|
20
|
+
<a href="../">Welcome</a>
|
21
|
+
</li>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<li class="current">
|
27
|
+
<a href="./">General Overview</a>
|
28
|
+
</li>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
<li class="">
|
34
|
+
<a href="../machinery_main_scopes.1/">Scopes</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
<li class="">
|
41
|
+
<a href="../machinery_main_usecases.1/">Use cases</a>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<li class="">
|
48
|
+
<a href="../machinery_main_security_implications.1/">Security Implications</a>
|
49
|
+
</li>
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
<li>Commands
|
55
|
+
<ul>
|
56
|
+
|
57
|
+
<li class="">
|
58
|
+
<a href="../machinery-analyze.1/">Analyze</a>
|
59
|
+
</li>
|
60
|
+
|
61
|
+
<li class="">
|
62
|
+
<a href="../machinery-build.1/">Build</a>
|
63
|
+
</li>
|
64
|
+
|
65
|
+
<li class="">
|
66
|
+
<a href="../machinery-compare.1/">Compare</a>
|
67
|
+
</li>
|
68
|
+
|
69
|
+
<li class="">
|
70
|
+
<a href="../machinery-config.1/">Config</a>
|
71
|
+
</li>
|
72
|
+
|
73
|
+
<li class="">
|
74
|
+
<a href="../machinery-copy.1/">Copy</a>
|
75
|
+
</li>
|
76
|
+
|
77
|
+
<li class="">
|
78
|
+
<a href="../machinery-deploy.1/">Deploy</a>
|
79
|
+
</li>
|
80
|
+
|
81
|
+
<li class="">
|
82
|
+
<a href="../machinery-export-autoyast.1/">Export AutoYaST</a>
|
83
|
+
</li>
|
84
|
+
|
85
|
+
<li class="">
|
86
|
+
<a href="../machinery-export-kiwi.1/">Export Kiwi</a>
|
87
|
+
</li>
|
88
|
+
|
89
|
+
<li class="">
|
90
|
+
<a href="../machinery-export-html.1/">Export HTML</a>
|
91
|
+
</li>
|
92
|
+
|
93
|
+
<li class="">
|
94
|
+
<a href="../machinery-inspect.1/">Inspect</a>
|
95
|
+
</li>
|
96
|
+
|
97
|
+
<li class="">
|
98
|
+
<a href="../machinery-inspect-container.1/">Inspect Container</a>
|
99
|
+
</li>
|
100
|
+
|
101
|
+
<li class="">
|
102
|
+
<a href="../machinery-list.1/">List</a>
|
103
|
+
</li>
|
104
|
+
|
105
|
+
<li class="">
|
106
|
+
<a href="../machinery-man.1/">Man</a>
|
107
|
+
</li>
|
108
|
+
|
109
|
+
<li class="">
|
110
|
+
<a href="../machinery-move.1/">Move</a>
|
111
|
+
</li>
|
112
|
+
|
113
|
+
<li class="">
|
114
|
+
<a href="../machinery-remove.1/">Remove</a>
|
115
|
+
</li>
|
116
|
+
|
117
|
+
<li class="">
|
118
|
+
<a href="../machinery-serve.1/">Serve</a>
|
119
|
+
</li>
|
120
|
+
|
121
|
+
<li class="">
|
122
|
+
<a href="../machinery-show.1/">Show</a>
|
123
|
+
</li>
|
124
|
+
|
125
|
+
<li class="">
|
126
|
+
<a href="../machinery-upgrade-format.1/">Upgrade Format</a>
|
127
|
+
</li>
|
128
|
+
|
129
|
+
<li class="">
|
130
|
+
<a href="../machinery-validate.1/">Validate</a>
|
131
|
+
</li>
|
132
|
+
|
133
|
+
</ul>
|
134
|
+
</li>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
</ul>
|
139
|
+
</div>
|
140
|
+
<div class="content">
|
141
|
+
<h1 id="machinery-a-systems-management-toolkit-for-linux">Machinery — A Systems Management Toolkit for Linux</h1>
|
142
|
+
<h1 id="synopsis">Synopsis</h1>
|
143
|
+
<p><code>machinery</code> SUBCOMMAND [options] <br>
|
144
|
+
<code>machinery</code> help [SUBCOMMAND]</p>
|
145
|
+
<h1 id="conceptual-overview">Conceptual Overview</h1>
|
146
|
+
<p>Machinery's core concept is the complete representation of a system by a
|
147
|
+
universal system description.
|
148
|
+
System descriptions are managed independently of the described
|
149
|
+
systems which allows for system state conservation and offline preparation of
|
150
|
+
modifications.</p>
|
151
|
+
<p>Machinery's subcommands work on the system description as the connecting
|
152
|
+
element.
|
153
|
+
System descriptions are obtained by inspecting systems, importing from other
|
154
|
+
formats, manual creation or merging existing descriptions.
|
155
|
+
Machinery can store and modify system descriptions to allow changes to
|
156
|
+
described state of the system.
|
157
|
+
System descriptions can be compared to find similarities and differences
|
158
|
+
between them or analyzed to deepen the knowledge about particular aspects of
|
159
|
+
the system.
|
160
|
+
System descriptions may be exported to other formats and can be used to
|
161
|
+
migrate or replicate systems.</p>
|
162
|
+
<p>Subcommands can be combined in different ways to accommodate higher-level work
|
163
|
+
flows and use cases.
|
164
|
+
These are some implemented and planned use cases:</p>
|
165
|
+
<p>Migrate a physical system to a virtual environment:</p>
|
166
|
+
<ul>
|
167
|
+
<li>Inspect a system to obtain a system description</li>
|
168
|
+
<li>Export the system description to a Kiwi configuration</li>
|
169
|
+
<li>Build a cloud image from the configuration</li>
|
170
|
+
<li>Deploy the image to the cloud</li>
|
171
|
+
</ul>
|
172
|
+
<p>Migrate a system while changing the configuration:</p>
|
173
|
+
<ul>
|
174
|
+
<li>Inspect a system to obtain a system description</li>
|
175
|
+
<li>Modify the system description</li>
|
176
|
+
<li>Build image for deployment</li>
|
177
|
+
</ul>
|
178
|
+
<p>Using Machinery as an extension from other formats:</p>
|
179
|
+
<ul>
|
180
|
+
<li>Import AutoYaST profile as system description</li>
|
181
|
+
<li>Build image for deployment</li>
|
182
|
+
</ul>
|
183
|
+
<p>Machinery provides an extensible set of tools which can be combined to create
|
184
|
+
higher-level work flows.
|
185
|
+
It is designed for environments which focus on automation, integration
|
186
|
+
of diverse tools and accountable management.
|
187
|
+
Machinery integrates with existing configuration management solutions to
|
188
|
+
address use cases currently not covered by them.</p>
|
189
|
+
<h2 id="the-machinery-command">The machinery Command</h2>
|
190
|
+
<p>Machinery is implemented as a command line tool named <code>machinery</code>. The
|
191
|
+
<code>machinery</code> command has several subcommands for specific tasks. All
|
192
|
+
subcommands work with the same system description identified by an optional
|
193
|
+
name which can be used by all subcommands.</p>
|
194
|
+
<h2 id="system-description">System Description</h2>
|
195
|
+
<p>The System Description format and file structure is documented in the machinery
|
196
|
+
wiki: <a href="https://github.com/SUSE/machinery/wiki/System-Description-Format">System Description Format</a>.</p>
|
197
|
+
<p>Machinery validates descriptions on load. It checks that the JSON structure of
|
198
|
+
the manifest file, which contains the primary and meta data of a description, is
|
199
|
+
correct and it adheres to the schema. Validation errors are reported as warnings.
|
200
|
+
It also checks that the information about extracted files is consistent. Missing
|
201
|
+
files or extra files without reference in the manifest are treated also as
|
202
|
+
warnings. All other issues are errors which need to be fixed so that Machinery
|
203
|
+
can use the description.
|
204
|
+
To manually validate a description use the <code>machinery validate</code> command.</p>
|
205
|
+
<h2 id="scopes">Scopes</h2>
|
206
|
+
<p>The system description is structured into "scopes". A scope covers a specific
|
207
|
+
part of the configuration of the inspected system such as installed packages,
|
208
|
+
repositories, or changed configuration files.</p>
|
209
|
+
<p>For example, if you are only interested in the installed packages, limit the
|
210
|
+
scope to <code>packages</code>. This will output only the requested information.</p>
|
211
|
+
<p>See the <a href="../machinery_main_scopes.1/">Scopes documentation</a> for a list of all supported scopes.</p>
|
212
|
+
<h1 id="options-for-all-subcommands">Options for All Subcommands</h1>
|
213
|
+
<!--- These are 'global' options of machinery -->
|
214
|
+
|
215
|
+
<ul>
|
216
|
+
<li>
|
217
|
+
<p><code>--version</code>:
|
218
|
+
Displays version of <code>machinery</code> tool. Exit when done.</p>
|
219
|
+
</li>
|
220
|
+
<li>
|
221
|
+
<p><code>--debug</code>:
|
222
|
+
Enable debug mode. Machinery writes additional information into the log
|
223
|
+
file which can be useful to track down problems.</p>
|
224
|
+
</li>
|
225
|
+
</ul>
|
226
|
+
<h1 id="files-and-devices">Files and Devices</h1>
|
227
|
+
<ul>
|
228
|
+
<li>
|
229
|
+
<p><code>~/.machinery/machinery.config</code>:</p>
|
230
|
+
<p>Configuration file.</p>
|
231
|
+
</li>
|
232
|
+
<li>
|
233
|
+
<p><code>~/.machinery/machinery.log</code>:</p>
|
234
|
+
<p>Central log file, in the format date, time, process id, and log message.</p>
|
235
|
+
</li>
|
236
|
+
<li>
|
237
|
+
<p><code>em1 (openSUSE 13.2 / openSUSE leap)</code>, <code>eth0</code> (SLE11) and <code>lan0</code> (SLE12):</p>
|
238
|
+
<p>First network device is used when DHCP in built image is enabled.</p>
|
239
|
+
</li>
|
240
|
+
</ul>
|
241
|
+
<h1 id="environment">Environment</h1>
|
242
|
+
<ul>
|
243
|
+
<li>
|
244
|
+
<p><code>MACHINERY_LOG_FILE</code>:</p>
|
245
|
+
<p>Location of Machinery's log file (defaults to <code>~/.machinery/machinery.log</code>).</p>
|
246
|
+
</li>
|
247
|
+
</ul>
|
248
|
+
<h1 id="copyright">Copyright</h1>
|
249
|
+
<p>Copyright (c) 2013-2016 <a href="http://www.suse.com">SUSE LLC</a></p>
|
250
|
+
</div>
|
251
|
+
</div>
|
252
|
+
</body>
|
253
|
+
</html>
|
@@ -0,0 +1,249 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8"/>
|
5
|
+
<link href="../../css/custom.css" rel="stylesheet">
|
6
|
+
</head>
|
7
|
+
<body id="manpage">
|
8
|
+
<div id="back">
|
9
|
+
<a href="../..">
|
10
|
+
<img src="../../img/hand3.png" class="hand3"/>
|
11
|
+
<div class="goback">Go back to the web site</div>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
<div class="mp">
|
15
|
+
<div class="nav">
|
16
|
+
<ul>
|
17
|
+
|
18
|
+
|
19
|
+
<li class="">
|
20
|
+
<a href="../">Welcome</a>
|
21
|
+
</li>
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<li class="">
|
27
|
+
<a href="../machinery_main_general.1/">General Overview</a>
|
28
|
+
</li>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
<li class="current">
|
34
|
+
<a href="./">Scopes</a>
|
35
|
+
</li>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
<li class="">
|
41
|
+
<a href="../machinery_main_usecases.1/">Use cases</a>
|
42
|
+
</li>
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
<li class="">
|
48
|
+
<a href="../machinery_main_security_implications.1/">Security Implications</a>
|
49
|
+
</li>
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
<li>Commands
|
55
|
+
<ul>
|
56
|
+
|
57
|
+
<li class="">
|
58
|
+
<a href="../machinery-analyze.1/">Analyze</a>
|
59
|
+
</li>
|
60
|
+
|
61
|
+
<li class="">
|
62
|
+
<a href="../machinery-build.1/">Build</a>
|
63
|
+
</li>
|
64
|
+
|
65
|
+
<li class="">
|
66
|
+
<a href="../machinery-compare.1/">Compare</a>
|
67
|
+
</li>
|
68
|
+
|
69
|
+
<li class="">
|
70
|
+
<a href="../machinery-config.1/">Config</a>
|
71
|
+
</li>
|
72
|
+
|
73
|
+
<li class="">
|
74
|
+
<a href="../machinery-copy.1/">Copy</a>
|
75
|
+
</li>
|
76
|
+
|
77
|
+
<li class="">
|
78
|
+
<a href="../machinery-deploy.1/">Deploy</a>
|
79
|
+
</li>
|
80
|
+
|
81
|
+
<li class="">
|
82
|
+
<a href="../machinery-export-autoyast.1/">Export AutoYaST</a>
|
83
|
+
</li>
|
84
|
+
|
85
|
+
<li class="">
|
86
|
+
<a href="../machinery-export-kiwi.1/">Export Kiwi</a>
|
87
|
+
</li>
|
88
|
+
|
89
|
+
<li class="">
|
90
|
+
<a href="../machinery-export-html.1/">Export HTML</a>
|
91
|
+
</li>
|
92
|
+
|
93
|
+
<li class="">
|
94
|
+
<a href="../machinery-inspect.1/">Inspect</a>
|
95
|
+
</li>
|
96
|
+
|
97
|
+
<li class="">
|
98
|
+
<a href="../machinery-inspect-container.1/">Inspect Container</a>
|
99
|
+
</li>
|
100
|
+
|
101
|
+
<li class="">
|
102
|
+
<a href="../machinery-list.1/">List</a>
|
103
|
+
</li>
|
104
|
+
|
105
|
+
<li class="">
|
106
|
+
<a href="../machinery-man.1/">Man</a>
|
107
|
+
</li>
|
108
|
+
|
109
|
+
<li class="">
|
110
|
+
<a href="../machinery-move.1/">Move</a>
|
111
|
+
</li>
|
112
|
+
|
113
|
+
<li class="">
|
114
|
+
<a href="../machinery-remove.1/">Remove</a>
|
115
|
+
</li>
|
116
|
+
|
117
|
+
<li class="">
|
118
|
+
<a href="../machinery-serve.1/">Serve</a>
|
119
|
+
</li>
|
120
|
+
|
121
|
+
<li class="">
|
122
|
+
<a href="../machinery-show.1/">Show</a>
|
123
|
+
</li>
|
124
|
+
|
125
|
+
<li class="">
|
126
|
+
<a href="../machinery-upgrade-format.1/">Upgrade Format</a>
|
127
|
+
</li>
|
128
|
+
|
129
|
+
<li class="">
|
130
|
+
<a href="../machinery-validate.1/">Validate</a>
|
131
|
+
</li>
|
132
|
+
|
133
|
+
</ul>
|
134
|
+
</li>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
</ul>
|
139
|
+
</div>
|
140
|
+
<div class="content">
|
141
|
+
<h1 id="scopes">Scopes</h1>
|
142
|
+
<ul>
|
143
|
+
<li>os</li>
|
144
|
+
</ul>
|
145
|
+
<p>Contains information about the operating system, name, version, and
|
146
|
+
architecture of the inspected system.</p>
|
147
|
+
<ul>
|
148
|
+
<li>packages</li>
|
149
|
+
</ul>
|
150
|
+
<p>Contains information on all installed packages installed on the
|
151
|
+
inspected system.</p>
|
152
|
+
<ul>
|
153
|
+
<li>patterns</li>
|
154
|
+
</ul>
|
155
|
+
<p>Contains all patterns or tasks installed on the inspected system. A pattern is a
|
156
|
+
collection of software packages, similar to the idea of tasks on Debian/Ubuntu-
|
157
|
+
like systems. The meaning of software patterns depends on the package manager of the
|
158
|
+
distribution.</p>
|
159
|
+
<ul>
|
160
|
+
<li>repositories</li>
|
161
|
+
</ul>
|
162
|
+
<p>Contains all information about software repositories configured on the
|
163
|
+
inspected system. The information about repositories depends on the package
|
164
|
+
manager of the distribution. Machinery collects the following information
|
165
|
+
from each configured repository:</p>
|
166
|
+
<ul>
|
167
|
+
<li>
|
168
|
+
<p>The alias name of the repository.</p>
|
169
|
+
</li>
|
170
|
+
<li>
|
171
|
+
<p>The repository type, rpm-md and YaST types that are used on SUSE systems.</p>
|
172
|
+
</li>
|
173
|
+
<li>
|
174
|
+
<p>The path to the repository. This could be a local path, a remote location,
|
175
|
+
a device, or a file.</p>
|
176
|
+
</li>
|
177
|
+
<li>
|
178
|
+
<p>A boolean flag that indicates if this repository is in use or not.</p>
|
179
|
+
</li>
|
180
|
+
<li>
|
181
|
+
<p>A boolean flag that indicates if this repository should update the locally
|
182
|
+
stored metadata files with metadata files from the origin automatically or
|
183
|
+
not.</p>
|
184
|
+
</li>
|
185
|
+
<li>
|
186
|
+
<p>A boolean flag that indicates if packages which would be installed from
|
187
|
+
this repository should be checked by their gpg key or not.</p>
|
188
|
+
</li>
|
189
|
+
<li>
|
190
|
+
<p>A numeric value for a priority. The priority of a repository is compared
|
191
|
+
to the priorities of all other activated repositories. Values can
|
192
|
+
range from 1 (highest) to 99 (lowest, default).</p>
|
193
|
+
</li>
|
194
|
+
<li>
|
195
|
+
<p>users</p>
|
196
|
+
</li>
|
197
|
+
</ul>
|
198
|
+
<p>Contains information about the system users including user and group ids,
|
199
|
+
login information, such as password hashes and - if available - additional
|
200
|
+
password properties.</p>
|
201
|
+
<ul>
|
202
|
+
<li>groups</li>
|
203
|
+
</ul>
|
204
|
+
<p>Contains information about the system groups such as group attributes and the
|
205
|
+
list of group members.</p>
|
206
|
+
<ul>
|
207
|
+
<li>services</li>
|
208
|
+
</ul>
|
209
|
+
<p>Services are applications running in the background doing continuous work
|
210
|
+
or waiting for requests to do work.
|
211
|
+
The scope determines which services are configured to be started in which
|
212
|
+
runlevel. It uses the <code>chkconfig</code> command to obtain that information.
|
213
|
+
The xinetd services that are also displayed by <code>chkconfig</code> are switched
|
214
|
+
on/off by editing configuration files and are ignored in this context.</p>
|
215
|
+
<ul>
|
216
|
+
<li>changed-config-files</li>
|
217
|
+
</ul>
|
218
|
+
<p>Contains all configuration files which have been changed since they were
|
219
|
+
installed.
|
220
|
+
Changed configuration files are all those files which are marked as such in the
|
221
|
+
package which has installed them. A configuration file change is reported
|
222
|
+
if its content or its attributes like Linux permission bits or ownership
|
223
|
+
have changed.</p>
|
224
|
+
<ul>
|
225
|
+
<li>changed-managed-files</li>
|
226
|
+
</ul>
|
227
|
+
<p>Contains the names and contents of all non-configuration files which have
|
228
|
+
been changed compared to the files in the package. A file change is reported
|
229
|
+
if its content or its attributes like Linux permission bits or ownership
|
230
|
+
have changed.</p>
|
231
|
+
<ul>
|
232
|
+
<li>unmanaged-files</li>
|
233
|
+
</ul>
|
234
|
+
<p>Contains the names and contents of all files which are not part of any package.
|
235
|
+
The list of unmanaged files contains only plain files and
|
236
|
+
directories. Special files like device nodes, named pipes and Unix domain
|
237
|
+
sockets are ignored. The directories <code>/tmp</code>, <code>/var/tmp</code>, <code>/.snapshots/</code>,
|
238
|
+
<code>/var/run</code> and special mounts like procfs and sysfs are ignored, too.
|
239
|
+
If a directory is in this list, no file or directory below it belongs to a
|
240
|
+
package.</p>
|
241
|
+
<p>Meta data information of unmanaged files is only available if the files were
|
242
|
+
extracted during inspection.</p>
|
243
|
+
<p>Using the <code>--extract-unmanaged-files</code> option, the files are transferred from
|
244
|
+
the system and stored in the system description. Depending on the content of
|
245
|
+
the inspected system, the amount of data stored may be huge.</p>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
</body>
|
249
|
+
</html>
|