4 changes: 2 additions & 2 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
.travis.yml:
beaker_sets:
- docker/centos-7
- docker/debian-8
- docker/debian-9
env:
global:
- PARALLEL_TEST_PROCESSORS=16
- PARALLEL_TEST_PROCESSORS=8
Gemfile:
extra:
- gem: webmock
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
matrix:
- PUPPET_VERSION=4.9
global:
- PARALLEL_TEST_PROCESSORS=16
- PARALLEL_TEST_PROCESSORS=8
matrix:
fast_finish: true
include:
Expand All @@ -25,7 +25,7 @@ matrix:
bundler_args: --without development
- rvm: 2.3.1
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/debian-8
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/debian-9
script: bundle exec rake beaker
services: docker
bundler_args: --without development
Expand Down
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## [9.1.0](https://github.com/theforeman/puppet-foreman/tree/9.1.0) (2018-05-09)

[Full Changelog](https://github.com/theforeman/puppet-foreman/compare/9.0.1...9.1.0)

**Implemented enhancements:**

- Ensure foreman-telemetry is installed if needed [\#638](https://github.com/theforeman/puppet-foreman/pull/638) ([ekohl](https://github.com/ekohl))
- Fixes [\#23101](https://projects.theforeman.org/issues/23101) - add telemetry options [\#637](https://github.com/theforeman/puppet-foreman/pull/637) ([ares](https://github.com/ares))
- Add classes for hammer cli commands [\#636](https://github.com/theforeman/puppet-foreman/pull/636) ([ekohl](https://github.com/ekohl))
- Refs [\#22559](https://projects.theforeman.org/issues/22559) - Add parameters for structured logging [\#631](https://github.com/theforeman/puppet-foreman/pull/631) ([ekohl](https://github.com/ekohl))
- permit puppetlabs-apache 3.x [\#628](https://github.com/theforeman/puppet-foreman/pull/628) ([mmoll](https://github.com/mmoll))

**Fixed bugs:**

- Handle releases/ properly for yum plugins repo [\#634](https://github.com/theforeman/puppet-foreman/pull/634) ([ekohl](https://github.com/ekohl))
- Refs [\#15963](https://projects.theforeman.org/issues/15963) - Correct documentation typos [\#641](https://github.com/theforeman/puppet-foreman/pull/641) ([itsbill](https://github.com/itsbill))

**Closed issues:**

- This puppet module breaks foreman installation [\#640](https://github.com/theforeman/puppet-foreman/issues/640)

**Merged pull requests:**

- Add a basic acceptance test [\#635](https://github.com/theforeman/puppet-foreman/pull/635) ([ekohl](https://github.com/ekohl))
- Run acceptance tests on Debian 9 instead of Debian 8 [\#632](https://github.com/theforeman/puppet-foreman/pull/632) ([ekohl](https://github.com/ekohl))
- Reduce PARALLEL\_TEST\_PROCESSORS to 8 [\#630](https://github.com/theforeman/puppet-foreman/pull/630) ([ekohl](https://github.com/ekohl))
- Add remote\_file acceptance test [\#627](https://github.com/theforeman/puppet-foreman/pull/627) ([sean797](https://github.com/sean797))
- Use selboolean for httpd\_dbus\_sssd [\#622](https://github.com/theforeman/puppet-foreman/pull/622) ([ekohl](https://github.com/ekohl))

## [9.0.1](https://github.com/theforeman/puppet-foreman/tree/9.0.1) (2018-02-28)

[Full Changelog](https://github.com/theforeman/puppet-foreman/compare/9.0.0...9.0.1)
Expand Down
10 changes: 10 additions & 0 deletions manifests/cli/discovery.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# = Hammer Discovery plugin
#
# This installs the Discovery plugin for Hammer CLI
#
# === Parameters:
#
class foreman::cli::discovery {
foreman::cli::plugin { 'foreman_discovery':
}
}
3 changes: 1 addition & 2 deletions manifests/cli/openscap.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# === Parameters:
#
class foreman::cli::openscap {
package { "${::foreman::cli::hammer_plugin_prefix}foreman_openscap":
ensure => installed,
foreman::cli::plugin { 'foreman_openscap':
}
}
30 changes: 30 additions & 0 deletions manifests/cli/plugin.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# == Hammer plugin
#
# A generic way to install plugins
#
# === Parameters:
#
# $package:: The package name
#
# $version:: The package version to ensure
#
define foreman::cli::plugin (
String $package = "${::foreman::cli::hammer_plugin_prefix}${title}",
String $version = 'installed',
) {
# Debian gem2deb converts underscores to hyphens
case $::osfamily {
'Debian': {
$real_package = regsubst($package,'_','-','G')
}
default: {
$real_package = $package
}
}

package { $real_package:
ensure => $version,
# Ensures we are installing after the repositories are set up
require => Package['foreman-cli'],
}
}
10 changes: 10 additions & 0 deletions manifests/cli/remote_execution.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# = Hammer Remote Exeuction plugin
#
# This installs the Remote Exeuction plugin for Hammer CLI
#
# === Parameters:
#
class foreman::cli::remote_execution {
foreman::cli::plugin { 'foreman_remote_execution':
}
}
10 changes: 10 additions & 0 deletions manifests/cli/tasks.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# = Hammer Tasks plugin
#
# This installs the Tasks plugin for Hammer CLI
#
# === Parameters:
#
class foreman::cli::tasks {
foreman::cli::plugin { 'foreman_tasks':
}
}
10 changes: 10 additions & 0 deletions manifests/cli/templates.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# = Hammer Templates plugin
#
# This installs the Templates plugin for Hammer CLI
#
# === Parameters:
#
class foreman::cli::templates {
foreman::cli::plugin { 'foreman_templates':
}
}
9 changes: 1 addition & 8 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,10 @@
}

if $::foreman::selinux or (str2bool($::selinux) and $::foreman::selinux != false) {
selboolean { 'allow_httpd_mod_auth_pam':
selboolean { ['allow_httpd_mod_auth_pam', 'httpd_dbus_sssd']:
persistent => true,
value => 'on',
}

# Prior to RHEL 6.6, httpd_dbus_sssd is unavailable
exec { 'setsebool httpd_dbus_sssd':
command => '/usr/sbin/setsebool -P httpd_dbus_sssd on',
onlyif => '/usr/sbin/getsebool httpd_dbus_sssd',
unless => '/usr/sbin/getsebool httpd_dbus_sssd | grep \'on$\'',
}
}

if $::foreman::ipa_manage_sssd {
Expand Down
Loading