Skip to content

Commit

Permalink
make use of the forge command in puppetfile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvanlaatum committed Aug 12, 2018
1 parent f829a24 commit c28e204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ra10ke.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def initialize(*args)
PuppetForge.user_agent = "ra10ke/#{Ra10ke::VERSION}"
puppetfile = R10K::Puppetfile.new(Dir.pwd)
puppetfile.load!
PuppetForge.host = puppetfile.forge if puppetfile.forge =~ /^http/

# ignore file allows for "don't tell me about this"
ignore_modules = []
Expand Down
1 change: 1 addition & 0 deletions lib/ra10ke/solve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def initialize(*_args)
PuppetForge.user_agent = "ra10ke/#{Ra10ke::VERSION}"
puppetfile = R10K::Puppetfile.new(Dir.pwd)
puppetfile.load!
PuppetForge.host = puppetfile.forge if puppetfile.forge =~ /^http/

# ignore file allows for "don't tell me about this"
ignore_modules = []
Expand Down

0 comments on commit c28e204

Please sign in to comment.