kafo 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5255df649aab1da9ea5ce34a586983e197d1588a
4
- data.tar.gz: d6b9b6d828d33f8db57542d84b4cbd93c5fdab2b
3
+ metadata.gz: 172038c701a1e259a865a0315bb5d31a41797420
4
+ data.tar.gz: c526c08e0df34742fd03fdfc0cac5c99595eb13a
5
5
  SHA512:
6
- metadata.gz: 62ff97b9551ff2c392ce1afaff5a044cff8fdc7bb68d99c0d285638256e6d81689c8dec825515547b0c60242aac1ba597801fc3a154de657068f6e52cf5ce51a
7
- data.tar.gz: 60b2332d3d6ccd96af93307ac6a0f1861a996bfe222c1a5dbfd4888e308e77be55a4da67be81acd534ded5bd3f7dad25865a523439c64ad4f4a34bb6c7002dc0
6
+ metadata.gz: 2a1c8d58ec05bba52eb9f190a9d6743d154b45ccc39dd33fc1aa830302c8a011e8255a4f1bce76365986b9a504c7318bbd0781015b12120fbd088f984d551adc
7
+ data.tar.gz: 51e160a1ee3329136b0c36ae7492384d39506b9a64db76b5e2dcd9269b4074f2a496f9b48b6b3a2a485b8da740b405fdb3c08bb11f361dd21bda8a3561aced6a
@@ -2,8 +2,12 @@
2
2
  class PuppetCommand
3
3
  def initialize(command, options = [])
4
4
  @command = command
5
- @options = options.push("--modulepath #{modules_path}")
6
- @logger = KafoConfigure.logger
5
+
6
+ # Expand the modules_path to work around the fact that Puppet doesn't
7
+ # allow modulepath to contain relative (i.e ..) directory references as
8
+ # of 2.7.23.
9
+ @options = options.push("--modulepath #{File.expand_path(modules_path)}")
10
+ @logger = KafoConfigure.logger
7
11
  end
8
12
 
9
13
  def custom_answer_file
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Kafo
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kafo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Hulan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-09 00:00:00.000000000 Z
11
+ date: 2013-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler