BibOpsworks 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bib/opsworks/composer.rb +18 -2
- data/lib/bib/opsworks/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3842cfa5128aca6d0c8d4fcc7f1a76483e14b71c
|
4
|
+
data.tar.gz: 6b588ae21b647cc8e5d606796cdcaea2eca10972
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 095284f9424a97dabfc9db9f0cd0e0b5ef2c9c4873b5c8ed58bbfa868f0bd69c03997cef87e69f8aca8db14646a0b81138b42a63d199ecc8bea13aa43350da20
|
7
|
+
data.tar.gz: 117cbcbc2acee961ef471ecd65fe9adfc4523a4d78ed6b4233965b5e2892db00e0f58ecc70477b5a8a911dee5949052bddd1119d7b9114fa0cc1a150a3986b82
|
data/Gemfile.lock
CHANGED
@@ -13,9 +13,25 @@ module Bib
|
|
13
13
|
|
14
14
|
release_vendor = "#{release_path}/vendor"
|
15
15
|
|
16
|
-
|
17
|
-
::FileUtils.
|
16
|
+
log.debug("Copy Vendor: Copying from #{vendor_dir} to #{release_vendor}")
|
17
|
+
result = ::FileUtils.cp_r vendor_dir, release_vendor, :verbose => true if ::File.exists?(vendor_dir)
|
18
|
+
|
19
|
+
log.debug("Chown Vendor #{release_vendor} to #{deploy_username}.#{deploy_group}")
|
20
|
+
result = ::FileUtils.chown_R deploy_username, deploy_group, release_vendor, :verbose => true if ::File.exists?(release_vendor)
|
21
|
+
end
|
22
|
+
|
23
|
+
def log
|
24
|
+
if(defined?(Chef))
|
25
|
+
Chef::Log
|
26
|
+
else
|
27
|
+
unless(@logger)
|
28
|
+
require 'logger'
|
29
|
+
@logger = Logger.new($stdout)
|
30
|
+
end
|
31
|
+
@logger
|
32
|
+
end
|
18
33
|
end
|
34
|
+
|
19
35
|
end
|
20
36
|
end
|
21
37
|
end
|
data/lib/bib/opsworks/version.rb
CHANGED