ciinabox-ecs 0.2.15 → 0.2.16
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 +4 -4
- data/Rakefile +2 -0
- data/templates/ecs-cluster.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 762833bf59511dab5a6a489e75c647974d008e42e3aee77344782b150faf5b79
|
|
4
|
+
data.tar.gz: f7d12b259f8abb60017ff5b4d1a51f93fde95beb11052e37d7119a34bcf1cf2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c4f5b4173f2abf1c118eaba246f7f0eedbbcd3b579058e65ee355c726483c938324a869e3b9268a4fc59ca446d05a08a40c8cb2c9f71e6ceb4f1cff23e51d81
|
|
7
|
+
data.tar.gz: d237c3a043b066f4d0c6a009232f2c348a1b6a91d0f0db9fed005480615dfd7be22fe35ec6b66cb9d81bb72efeae0a58b984222f5b7f063131442b756c63372e
|
data/Rakefile
CHANGED
|
@@ -40,6 +40,8 @@ namespace :ciinabox do
|
|
|
40
40
|
config = default_params
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
config.merge!('current_dir'=>current_dir)
|
|
44
|
+
|
|
43
45
|
Dir["#{ciinaboxes_dir}/#{ciinabox_name}/config/*.yml"].each {|config_file|
|
|
44
46
|
if not config_file.include?('params.yml')
|
|
45
47
|
config = config.merge(YAML.load(File.read(config_file)))
|
data/templates/ecs-cluster.rb
CHANGED
|
@@ -144,7 +144,7 @@ CloudFormation {
|
|
|
144
144
|
if defined? enable_cloudwatch_agent and enable_cloudwatch_agent
|
|
145
145
|
enable_cloudwatch_agent_userdata = [
|
|
146
146
|
"mkdir -p /opt/aws/amazon-cloudwatch-agent/etc/\n",
|
|
147
|
-
"echo '#{File.open('config/files/amazon-cloudwatch-agent.json
|
|
147
|
+
"echo '#{File.open("#{config['current_dir']}/config/files/amazon-cloudwatch-agent.json").read()}' > /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json\n",
|
|
148
148
|
"wget https://s3.amazonaws.com/amazoncloudwatch-agent/amazon_linux/amd64/latest/amazon-cloudwatch-agent.rpm\n",
|
|
149
149
|
"echo 'Installing CloudWatch agent...'\n",
|
|
150
150
|
"rpm -U amazon-cloudwatch-agent.rpm\n",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ciinabox-ecs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Base2Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|