foreman_hooks-host_rename 0.0.3 → 0.0.4

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.
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'optparse'
5
5
  require 'ostruct'
6
- require 'foreman_hook/host_rename'
6
+ require 'foreman_hooks/host_rename'
7
7
 
8
8
  action = :run
9
9
  options = OpenStruct.new
@@ -55,8 +55,8 @@ module ForemanHook
55
55
  # Parse the configuration file
56
56
  config = {
57
57
  hook_user: 'foreman',
58
- database_path: prefix + '/db/foreman_hook_rename.db',
59
- log_path: '/var/tmp/foreman_hook_rename.log',
58
+ database_path: '/var/tmp/db/foreman_hooks-host_rename.db',
59
+ log_path: '/var/tmp/foreman_hooks-host_rename.log',
60
60
  log_level: 'warn',
61
61
  rename_hook_command: '/bin/true',
62
62
  }.merge(symbolize(YAML.load(File.read(conffile))))
@@ -1,3 +1,3 @@
1
1
  module ForemanHooks
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_hooks-host_rename
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: