itamae-plugin-resource-mail_alias 0.0.1 → 0.0.2

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: aa43724aff0f9887b70f036887d93921239a5aa7
4
- data.tar.gz: dd62b5f1e42c0f92232d3fa8c7eb1058ed65f802
3
+ metadata.gz: 84ce0660e4333c2563f78653e839c8ff721ca0e3
4
+ data.tar.gz: 846b108da7e884f8795f730aa4721c515bf772b5
5
5
  SHA512:
6
- metadata.gz: 533f6fababd863e279f07f7ba5be6a6f6a9302f8052914cc4301b34a66c66a6887c62c682ebadfb3928ffb9eba6f923738b5baebf4283ef5b334efc9a8ea2549
7
- data.tar.gz: 2acf10c6e170f55f9a7810007f36194c0c8197fb70c03e9a81e3988db8172399cca54d6aa75405c95d33e9e6242d786888a811cd61520705c18f851f642a9ad4
6
+ metadata.gz: 88926ca2edf7780c45607bb07e5c299114e09a17930bbc90f860f64ce6677b69d72c1d87b997c1740f66994f342d94c6d305055692db2e8331642ef1d5244a2a
7
+ data.tar.gz: 27fea09622e966955e8ba06017f992dd86d2849fe07cfe823ed6c653e16169adb2e3bcc64bce745d59f143d1f39469d543f74c735f2f76f5479d18bef3d73425
@@ -9,7 +9,7 @@ module Itamae
9
9
  define_attribute :mail_alias, type: String, default_name: true
10
10
  define_attribute :recipient, type: String, required: true
11
11
 
12
- def create_action(options)
12
+ def action_create(options)
13
13
  if !run_specinfra(:check_mail_alias_is_aliased_to, mail_alias, recipient)
14
14
  run_specinfra(:add_mail_alias, mail_alias, recipient)
15
15
  end
@@ -4,7 +4,7 @@ module Itamae
4
4
  module Plugin
5
5
  module Resource
6
6
  class MailAlias < Itamae::Resource::Base
7
- VERSION = "0.0.1"
7
+ VERSION = "0.0.2"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-resource-mail_alias
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2014-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae