fabric 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +14 -0
- data/VERSION +1 -1
- data/fabric.gemspec +2 -2
- data/lib/fabric/account.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -93,4 +93,18 @@ A lot of the tests this gem rely on being able to ssh to a target machine. This
|
|
93
93
|
|
94
94
|
Note: add the moment, the tests assume at various points a Linux, rather than an OS X, way of doing things.
|
95
95
|
|
96
|
+
== Wishlist
|
97
|
+
|
98
|
+
=== Features
|
99
|
+
|
100
|
+
* Ability to automatically create users that are granted a permission
|
101
|
+
* Business-friendly report output to give current setup
|
102
|
+
|
103
|
+
=== Technical
|
104
|
+
|
105
|
+
* More robust testing of executable and options
|
106
|
+
* Better SSH error trapping
|
107
|
+
* Threading/forking for speed
|
108
|
+
|
109
|
+
|
96
110
|
Copyright (c) 2009 Sam Phillips. See LICENSE for details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/fabric.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fabric}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Sam Phillips"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-03-24}
|
13
13
|
s.default_executable = %q{fab}
|
14
14
|
s.description = %q{Fabric is a small ruby app to perform tasks on servers via SSH. Built around net/ssh and taking heavy inspiration from Capistrano, it allows you to create policies for server management and perform sysadmin tasks without the need for a process/daemon/dependency or even ruby being installed on the remote server.}
|
15
15
|
s.email = %q{sam.phillips@setfiremedia.com}
|
data/lib/fabric/account.rb
CHANGED
@@ -17,7 +17,7 @@ class Account
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def write_ssh_key
|
20
|
-
self.server.execute_command("sudo touch #{self.user.
|
20
|
+
self.server.execute_command("sudo touch #{self.user.authorized_keys_file_path}")
|
21
21
|
self.server.execute_command("echo '#{self.user.authorized_keys_file}' | sudo tee #{self.user.authorized_keys_file_path}")
|
22
22
|
self.set_ssh_key_permissions
|
23
23
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fabric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Phillips
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-24 00:00:00 +00:00
|
13
13
|
default_executable: fab
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|