BibOpsworks 0.0.9.2 → 0.0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bib/opsworks/logging.rb +19 -0
- data/lib/bib/opsworks/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bfc277b960068e6047cd1b2a60e57e44ec422d0
|
4
|
+
data.tar.gz: ff671e288dc4a2c3617fcfa084c53bc8959445f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f545e8e8248578167467a36d597e9bca67b7b5c3b48933098a6e67dff433ebc8986b22952cdb42578d073695924c874f1c16cacdcb7ba8ecbd805df58c404a8c
|
7
|
+
data.tar.gz: 56e8d12f1c710816619d80d4219b230f735d79c982091d33f312d1a1d35590d99906be53005b838cb6a5f2d9fa7a02d4cd29478ab9b2f66a70f8d141517107c7
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'logger'
|
2
|
+
|
3
|
+
module Bib
|
4
|
+
module Opsworks
|
5
|
+
module Logging
|
6
|
+
def log
|
7
|
+
if(defined?(Chef::Log))
|
8
|
+
Chef::Log
|
9
|
+
else
|
10
|
+
unless(@logger)
|
11
|
+
require 'logger'
|
12
|
+
@logger = Logger.new(STDOUT)
|
13
|
+
end
|
14
|
+
@logger
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/bib/opsworks/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: BibOpsworks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.9.
|
4
|
+
version: 0.0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fh
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- Rakefile
|
98
98
|
- lib/bib/opsworks.rb
|
99
99
|
- lib/bib/opsworks/composer.rb
|
100
|
+
- lib/bib/opsworks/logging.rb
|
100
101
|
- lib/bib/opsworks/newrelic.rb
|
101
102
|
- lib/bib/opsworks/version.rb
|
102
103
|
- tests/composer_test.rb
|