Skip to content

Commit

Permalink
Port over code from puppet-foreman
Browse files Browse the repository at this point in the history
These files were part of puppet-foreman but now become a standalone
module. This makes it easier to test.

Various fixes were made to get tests to pass properly in the new layout
and with the additional operating systems. No actual code was changed.
  • Loading branch information
ekohl committed Apr 24, 2020
1 parent 6312e80 commit 737cdb0
Show file tree
Hide file tree
Showing 31 changed files with 14,324 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fixtures:
repositories:
stdlib: 'https://github.com/puppetlabs/puppetlabs-stdlib'
9 changes: 9 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
Gemfile:
extra:
- gem: webmock
version: '~> 2.0'
- gem: oauth
spec/spec_helper.rb:
requires:
- webmock/rspec
- puppet/reports
spec/spec_helper_acceptance.rb:
delete: true
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ gem 'puppet-lint-param-docs', '>= 1.3.0'
gem 'puppet-lint-spaceship_operator_without_tag-check'
gem 'puppet-lint-strict_indent-check'
gem 'puppet-lint-undef_in_function-check'
gem 'voxpupuli-test', '~> 1.3'
gem 'voxpupuli-test', '~> 1.4'
gem 'github_changelog_generator', '>= 1.15.0', {"groups"=>["development"]}
gem 'puppet-blacksmith', '>= 6.0.0', {"groups"=>["development"]}
gem 'voxpupuli-acceptance', '~> 0.1', {"groups"=>["system_tests"]}
gem 'webmock', '~> 2.0'
gem 'oauth'

# vim:ft=ruby
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Puppet module for managing Foreman integration in Puppetserver

The Foreman integration consists of an ENC and a report processor. This has a
configuration file. All of this can be managed by this module.

Historically this integration was part of [theforeman-foreman
module](https://github.com/theforeman/puppet-foreman).

## Compatibility

Foreman API v2: 1.3 - 2.x
Puppetserver: 1.x - 6.x

These scripts have a long history and have basically been unchanged since
Puppet 2.6, even before Puppetserver existed. Since they haven't dropped code,
they probably still work.
Loading

0 comments on commit 737cdb0

Please sign in to comment.