charmkit 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/charmkit/plugins/nginx.rb +5 -21
- data/lib/charmkit/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: fed9878bf1bccafa76c2efc92915a57296a3d03b
|
4
|
+
data.tar.gz: 886fb8a6d85bfa9aa7d2dbf5e2b936faae9b797f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebb8c476ae010ce33efafc8d1b4a574e4402b4e6fbd488473d06da7b2a296aedce837677fd64a5886852341081d29fb325d8b30fcfb91931a9947dd953f94064
|
7
|
+
data.tar.gz: bf81088ea1133755d1455474b2200afd08db9c2d1ab18609b6a0f4a732ed7be68ed3a157689d8d56c5ae745d4143ee207d3d79b0037808c9ffffed614c86b47d
|
@@ -1,23 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
include Charmkit::Helpers::FS
|
7
|
-
def initialize
|
8
|
-
if !is_installed? 'nginx-full'
|
9
|
-
status :maintenance, 'Installing NGINX'
|
10
|
-
package ['nginx-full']
|
11
|
-
status :active, "NGINX installed."
|
12
|
-
end
|
13
|
-
yield(self)
|
14
|
-
end
|
15
|
-
def install_vhost
|
16
|
-
puts "installing vhost"
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
register_plugin(:nginx, NGINXPlugin)
|
1
|
+
namespace :nginx do
|
2
|
+
desc "Install NGINX"
|
3
|
+
task :install do
|
4
|
+
`apt-get update`
|
5
|
+
`apt-get install nginx-full`
|
22
6
|
end
|
23
7
|
end
|
data/lib/charmkit/version.rb
CHANGED