piculet 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c3b16b41dea1b725e8d0700a52f991479240d80
4
- data.tar.gz: 12cbf14397e65a1f6c1a52128ec893745db009e6
3
+ metadata.gz: 85ce7a99878c859ea7ed72ee8ede67ff11a7751f
4
+ data.tar.gz: 3206f6e51160671ff1e9e16517e11960d0cf7ea3
5
5
  SHA512:
6
- metadata.gz: 9e26fdf6b517c0aaf7c6b8ead7f5e0391b9adac283d4428a45cb8418943b7362273ea3eb91dbb2a44f13623b9076a39ac961334d53de34a19762ad20c5e700c1
7
- data.tar.gz: a651d245c43cfd21a7ef8b25277c3d48caf3b80f266844fe46c8c8ede4895605fba77bf2ee5aa0f185496f17b6d153818bd11db7e9d7a45e71d676940a937da2
6
+ metadata.gz: be61e0f4ced38e05d438538414dded1d6bb98f245ce8359ba84b57f300fbd73b9da34afd0f2215d64aaf84e53467e9ba24c4443f6c19c8a134b258e5f10fd1d1
7
+ data.tar.gz: 387470e127022cef37998045dac74745bcdd2ef997f6dbbae7c38a76316c89a8f1bd4d12a5a0c21b5192202196ea60ad367456bcaa31ca0ae5df7cbeb7c85f7c
@@ -90,6 +90,11 @@ module Piculet
90
90
 
91
91
  unless sg_aws
92
92
  sg_aws = collection_api.create(name, :vpc => vpc, :description => sg_dsl.description)
93
+
94
+ if vpc and sg_dsl.egress.empty?
95
+ log(:warn, '`egress any 0.0.0.0/0` is implicitly defined', :yellow)
96
+ end
97
+
93
98
  sg_list_aws[key] = sg_aws
94
99
  end
95
100
  end
@@ -1,5 +1,5 @@
1
1
  module Piculet
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
4
4
 
5
5
  Version = Piculet::VERSION
@@ -20,7 +20,6 @@ module Piculet
20
20
 
21
21
  def create(name, opts = {})
22
22
  log(:info, 'Create SecurityGroup', :cyan, "#{opts[:vpc] || :classic} > #{name}")
23
- log(:warn, '`egress any 0.0.0.0/0` is implicitly defined', :yellow) if @options.dry_run && opts[:vpc]
24
23
 
25
24
  if @options.dry_run
26
25
  sg = OpenStruct.new({:id => '<new security group>', :name => name, :vpc_id => opts[:vpc]}.merge(opts))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piculet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-18 00:00:00.000000000 Z
11
+ date: 2014-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -135,3 +135,4 @@ signing_key:
135
135
  specification_version: 4
136
136
  summary: Piculet is a tool to manage EC2 Security Group.
137
137
  test_files: []
138
+ has_rdoc: