syllabus 0.0.2 → 0.0.3
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 +0 -2
- data/lib/syllabus/cli.rb +2 -2
- data/lib/syllabus/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: 1239a6b04641b48a514aeb05de9c1177f2cd8c39
|
4
|
+
data.tar.gz: 87f7dabbef07e7e7a3dcce7174afa49dbe4af5e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6295e42607dc9a6633636abd70f0df01454cecef30f0cb668ad5d4f380035663679011b93ac1d3b311d0b9f89bf0b9a27cf3fae02df1770d4165f454088cceff
|
7
|
+
data.tar.gz: 9945dcb083760c637cad178e4dded53017d8f5287d65c6eb7ce517ea5a99e34d7678af454e14ebe49d2abbb8104b10c0742526f9e65b6c2f17d09550de862e8a
|
data/README.md
CHANGED
@@ -29,7 +29,6 @@ $ syllabus exec --file examples/mac.rb --type Exec
|
|
29
29
|
Syllabus provides a simple DSL to configure servers like below:
|
30
30
|
|
31
31
|
```
|
32
|
-
os_type 'Darwin'
|
33
32
|
hosts %[app1.example.com app2.example.com]
|
34
33
|
path '/path/to/bin'
|
35
34
|
|
@@ -42,7 +41,6 @@ install 'git'
|
|
42
41
|
|
43
42
|
There are serveral methods to configure Syllabus itself.
|
44
43
|
|
45
|
-
* `os_type`: The type of OS of the servers to be configured
|
46
44
|
* `hosts`: Servers to be configured by Syllabus
|
47
45
|
* `path`: `PATH` environment variable to be set on the servers
|
48
46
|
|
data/lib/syllabus/cli.rb
CHANGED
@@ -8,13 +8,13 @@ class Syllabus::CLI < Thor
|
|
8
8
|
# This is a configuration file for syllabus.
|
9
9
|
|
10
10
|
# Packages
|
11
|
-
#
|
11
|
+
# install 'httpd'
|
12
12
|
EOS
|
13
13
|
File.write('syllabus.rb', configuration)
|
14
14
|
end
|
15
15
|
|
16
16
|
desc 'exec [--file FILE], [--type TYPE]', 'Execute commands against backend(s) according to a backend type'
|
17
|
-
option :type, default: '
|
17
|
+
option :type, default: 'Exec'
|
18
18
|
option :file, default: 'syllabus.rb'
|
19
19
|
option :level, default: 'info'
|
20
20
|
def exec
|
data/lib/syllabus/version.rb
CHANGED