server_tools 0.1.6 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/server_tools/cli.rb +4 -4
- data/lib/server_tools/provision.rb +1 -1
- data/lib/server_tools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 960e2e6e03a39e666f519268c5756686ecd47f6d
|
4
|
+
data.tar.gz: 0d136f817aebaaf55c883819bf8779e44aecb835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 768b5c0a4e0cd3bcf9ba1afb5c191de0c8b3520d31704db275b6ec1235f075e19d776affbbf7b62968da73749e9f9a06babd8780543ea7acbe59010bf67b65ec
|
7
|
+
data.tar.gz: 65e8e353e54aba130ba4cc3089f776bb3330ac9710ff8484228acc8bc1eb3e34b784921a7c24e1835672b31219862d5735143712a9fed5833b2df7a4eb8748ba
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ A bunch of tools to provision (via Chef) and deploy packages to servers.
|
|
7
7
|
Available commands:
|
8
8
|
|
9
9
|
- `bootstrap`: Installs Chef on the provided host. Requires [ChefDK](https://downloads.chef.io/chef-dk/) to be installed.
|
10
|
-
- `provision`: Runs chef with the provided list of
|
10
|
+
- `provision`: Runs chef with the provided list of flags to chef client
|
11
11
|
- `install-deb-package`: Installs a local Debian package on the remote host (optionally purges the older version)
|
12
12
|
|
13
13
|
All command line flags can be seen by running `server_tools help`.
|
data/lib/server_tools/cli.rb
CHANGED
@@ -33,10 +33,10 @@ module ServerTools
|
|
33
33
|
end
|
34
34
|
|
35
35
|
desc 'provision HOSTNAME/IP', 'run chef-client on host with given recipes/roles'
|
36
|
-
option :
|
37
|
-
desc: '
|
38
|
-
required:
|
39
|
-
type: :
|
36
|
+
option :chef_client_flags,
|
37
|
+
desc: 'Options passed to chef-client',
|
38
|
+
required: false,
|
39
|
+
type: :string
|
40
40
|
def provision(hostname)
|
41
41
|
shell_out(ServerTools::Provision.new(hostname, options).command)
|
42
42
|
end
|
data/lib/server_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: server_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Decomplect Software LLP
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|