mofa 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mofa/released_cookbook.rb +6 -0
- data/lib/mofa/version.rb +1 -1
- metadata +2 -2
@@ -67,6 +67,12 @@ class ReleasedCookbook < Cookbook
|
|
67
67
|
if override_mofa_secrets
|
68
68
|
if File.directory?("#{override_mofa_secrets}/#{name}/cookbooks")
|
69
69
|
run "rsync -vr #{override_mofa_secrets}/#{name}/cookbooks/ #{pkg_dir}/tmp/cookbooks/"
|
70
|
+
if File.file?("#{override_mofa_secrets}/#{name}/.mofa.local.yml")
|
71
|
+
FileUtils.cp "#{override_mofa_secrets}/#{name}/.mofa.local.yml", "#{pkg_dir}/tmp/cookbooks/#{name}/"
|
72
|
+
end
|
73
|
+
if File.file?("#{override_mofa_secrets}/#{name}/.mofa.yml")
|
74
|
+
FileUtils.cp "#{override_mofa_secrets}/#{name}/.mofa.yml", "#{pkg_dir}/tmp/cookbooks/#{name}/"
|
75
|
+
end
|
70
76
|
else
|
71
77
|
run "rsync -vr #{override_mofa_secrets}/#{name}/ #{pkg_dir}/tmp/cookbooks/#{name}/"
|
72
78
|
end
|
data/lib/mofa/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|