tweek 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/bin/tweek +3 -1
- data/lib/tweek/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6f72d6d59a8e68f01ced40dd39696822515e0d3
|
|
4
|
+
data.tar.gz: 8b97932c5381d852aa09fcc0066d601b5df5c3bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 284e773675805ef2882269ebea781d58f057c905292cd9e400905e7c7af3334d6d8bc5703531b91e6398e113400a56c8aaefe80217fdd1363c2013cfb8d2f283
|
|
7
|
+
data.tar.gz: 6a9b3db52163945915d8923fd0e979db24a6a386568d8fc3a9ad9a07024a5120c2caeb1fee7b58c66f9100021b348d0fce442990b51342a6d506662dce3d2330
|
data/README.md
CHANGED
|
@@ -66,7 +66,8 @@ Tweek will read the sample settings from the default file `settings/sample.set`
|
|
|
66
66
|
installed as part of the Gem) and check them. The output is self-explanatory.
|
|
67
67
|
|
|
68
68
|
All the other uses involve the settings file. Documentation is contained within the
|
|
69
|
-
sample settings and you should read
|
|
69
|
+
sample settings and you should read them for a full understanding of what is possible.
|
|
70
|
+
Use `tweek -s` to show them.
|
|
70
71
|
|
|
71
72
|
## Settings File Format
|
|
72
73
|
|
|
@@ -133,6 +134,11 @@ Where:
|
|
|
133
134
|
NOTE: The determination of the current Distro, Distro Version and Kernel Version is done
|
|
134
135
|
using the `lsb_release` and `uname` commands. Since these may not be installed on all
|
|
135
136
|
systems, you can specify these as command line options. This is also useful in testing.
|
|
137
|
+
An example for Redhat 7 is:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
tweek --distro=RedHatEnterpriseServer --distro-ver=7.4 --kernel-ver=3.10.0
|
|
141
|
+
```
|
|
136
142
|
|
|
137
143
|
## Development
|
|
138
144
|
|
data/bin/tweek
CHANGED
|
@@ -42,7 +42,9 @@ OptionParser.new do |o|
|
|
|
42
42
|
o.on( '-s', '--show', "Write the default parameters to STDOUT",
|
|
43
43
|
"Use as a fully documented starting point"
|
|
44
44
|
) do
|
|
45
|
-
|
|
45
|
+
File.open(File.expand_path('../../settings/sample.set',__FILE__)).each_line do |l|
|
|
46
|
+
STDOUT.puts l # no copy_stream in 1.8.7
|
|
47
|
+
end
|
|
46
48
|
exit
|
|
47
49
|
end
|
|
48
50
|
o.on('-v', "--version", "Show version") do
|
data/lib/tweek/version.rb
CHANGED