puppetdb_foreman 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 476b5034f770b3ff3fb490c93eec09fae28e0e1e
4
- data.tar.gz: b6f6ae848bd2de0ce959592414ea7f59cd478b46
3
+ metadata.gz: 48759390553b86a6fc48221336d87d82ba8709cf
4
+ data.tar.gz: ab85080bdfd95fc4695b74fd2c249fc17a952008
5
5
  SHA512:
6
- metadata.gz: 1c9ce5e792fd6962a7a8221ec63c43ef1d152ade1df70472848bc4d7b98cc5705ec468418b3cbcc6bc68ff97db7fcb85c40a3ed5703332f5a88a524904ff4662
7
- data.tar.gz: 724c9999b341ef7cec1329d0e88319abd9fa1b9795d05fb77bb9e9516c6739db660e1c3852a98f451c847f8a5c1c81f1472d0f8eae814466e4de4c38d5682f2e
6
+ metadata.gz: 4412889fa8bd32783a15f367ee0283f7a88be4418f14e919ff93932caa982b4db2e3ae664c94bc3322c4bd25a486a60b3e06e15eeebc8eeddad39cdc817c3570
7
+ data.tar.gz: 0c330cf7fb392595a319825456e7c5920f3953c40b704dd3c7dd575d686e162b5ea21cb3c07dcdaac258e11efb1ae7ea6a1a8521729ab17052e121cc4be0489e
@@ -19,6 +19,7 @@ module PuppetdbForeman
19
19
  extend ActiveSupport::Concern
20
20
  included do
21
21
  before_destroy :deactivate_host
22
+ after_build :deactivate_host
22
23
 
23
24
  def deactivate_host
24
25
  logger.debug "Deactivating host #{name} in Puppetdb"
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetdb_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: At the moment it basically disables hosts on puppetdb after they are
14
- deleted in Foreman. Follow https://github.com/theforeman/puppetdb_foreman and raise
15
- an issue/submit a pull request if you need extra functionality
13
+ description: Disable hosts on puppetdb after they are deleted or built in Foreman.
14
+ Follow https://github.com/theforeman/puppetdb_foreman and raise an issue/submit
15
+ a pull request if you need extra functionality
16
16
  email: elobatocs@gmail.com
17
17
  executables: []
18
18
  extensions: []