marionetta 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -22
- data/lib/marionetta.rb +1 -1
- data/lib/marionetta/manipulators.rb +1 -3
- metadata +1 -1
data/README.md
CHANGED
@@ -87,28 +87,6 @@ will now be available in your Rakefile.
|
|
87
87
|
|
88
88
|
**Groups must have names if you want to generate rake tasks.**
|
89
89
|
|
90
|
-
## Using the debployer
|
91
|
-
|
92
|
-
Also included is a .deb deploying manipulator. You can use
|
93
|
-
this to deploy your application over SSH as a .deb.
|
94
|
-
|
95
|
-
``` ruby
|
96
|
-
require 'marionetta'
|
97
|
-
|
98
|
-
staging = Marionetta::Group.new(:staging)
|
99
|
-
|
100
|
-
staging.add_server do |s|
|
101
|
-
s[:hostname] = 'staging.example.com'
|
102
|
-
s[:debployer] = {
|
103
|
-
:deploy_from => '/my-app',
|
104
|
-
:deploy_to => '/home/staging/www'
|
105
|
-
:excludes => ['spec'],
|
106
|
-
}
|
107
|
-
end
|
108
|
-
|
109
|
-
staging.manipulate_each_server(:debployer, :deploy)
|
110
|
-
```
|
111
|
-
|
112
90
|
## Author
|
113
91
|
|
114
92
|
Luke Morton a.k.a. DrPheltRight
|
data/lib/marionetta.rb
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
module Marionetta
|
2
2
|
module Manipulators
|
3
|
-
require_relative 'manipulators/debployer'
|
4
3
|
require_relative 'manipulators/puppet_manipulator'
|
5
4
|
|
6
5
|
def self.all()
|
7
6
|
{
|
8
|
-
:
|
9
|
-
:puppet => PuppetManipulator,
|
7
|
+
:puppet => PuppetManipulator,
|
10
8
|
}
|
11
9
|
end
|
12
10
|
|