Skip to content

Commit

Permalink
sad face
Browse files Browse the repository at this point in the history
  • Loading branch information
donoghuc committed Mar 25, 2020
1 parent af5af93 commit c5b001a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions agentless-catalog-executor.gemspec
Expand Up @@ -19,10 +19,11 @@ Gem::Specification.new do |spec|
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "bolt", "~> 1.31"
spec.add_dependency "bolt", "1.48.0"
# spec.add_dependency "puppet", "6.12.0"

# server-side dependencies cargo culted from https://github.com/puppetlabs/bolt/blob/4418da408643aa7eb5ed64f4c9704b941ea878dc/Gemfile#L10-L16
spec.add_dependency "concurrent-ruby", "1.1.5"
spec.add_dependency "hocon", ">= 1.2.5"
spec.add_dependency "json-schema", ">= 2.8.0"
spec.add_dependency "puma", ">= 3.12.0"
Expand Down
7 changes: 7 additions & 0 deletions lib/ace/configurer.rb
@@ -1,5 +1,12 @@
# frozen_string_literal: true

require 'puppet'
# NOTE: Changes in puppet code loading results in simply requiring `puppet/configurer` no longer
# possible. The following requires can make ruby load, however selectively loading code from puppet
# will likely lead to issues in the future. Instead, just load puppet here.
# require 'puppet/util/autoload'
# require 'puppet/parser/compiler'
# require 'puppet/parser'
require 'puppet/configurer'

module ACE
Expand Down

0 comments on commit c5b001a

Please sign in to comment.