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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24756041722bd6f0869ceaa2bf01c29b7d580af1
4
- data.tar.gz: 07dc358b6837a4686090776d750c95595a8e15ac
3
+ metadata.gz: fed9878bf1bccafa76c2efc92915a57296a3d03b
4
+ data.tar.gz: 886fb8a6d85bfa9aa7d2dbf5e2b936faae9b797f
5
5
  SHA512:
6
- metadata.gz: 8c4dc17926306904a09e18d34efb3ed1ee913544e6b6b0a77e00519e227e31d2b93c30197ddbd0f3e8313e1055443ec9cd15cc300a22de8e0509a51dcfe20b3a
7
- data.tar.gz: 1b376bb8a1fae54c63847b054a819ddbf2e3754b98998d61493ffa6b8b2b3923059a88d90a219839c883bd170eefa11a789981d6adb78822dcbe4f531f418d5c
6
+ metadata.gz: ebb8c476ae010ce33efafc8d1b4a574e4402b4e6fbd488473d06da7b2a296aedce837677fd64a5886852341081d29fb325d8b30fcfb91931a9947dd953f94064
7
+ data.tar.gz: bf81088ea1133755d1455474b2200afd08db9c2d1ab18609b6a0f4a732ed7be68ed3a157689d8d56c5ae745d4143ee207d3d79b0037808c9ffffed614c86b47d
@@ -1,23 +1,7 @@
1
- class Charmkit
2
- module Plugins
3
- module NGINXPlugin
4
- module InstanceMethods
5
- class NGINX
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
@@ -6,7 +6,7 @@ module Charmkit
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 3
9
- PATCH = 8
9
+ PATCH = 9
10
10
  PRE = nil
11
11
 
12
12
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: charmkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Stokes