Sha256: 4bf919ae18427a4c44ece20bd8ba742f15f179fcbd625f025b267e64043b5553

Contents?: true

Size: 936 Bytes

Versions: 2

Compression:

Stored size: 936 Bytes

Contents

# == Class: profile::base::rhel
#
# Installs RedHat specific base config. This includes config from the STIG
# standard for RHEL 7
class profile::base::rhel {
  # Default DNS to the Puppet master
  class { 'resolv_conf':
    nameservers => [$serverip, '8.8.8.8'],
  }

  package { 'ypserv':
    ensure => absent,
    tag    => [
      'stig_red_hat_enterprise_linux_7',
      'V-71969',
    ],
  }

  package { 'tftp-server':
    ensure => absent,
    tag    => [
      'stig_red_hat_enterprise_linux_7',
      'V-72301',
    ],
  }

  package { 'rsh-server':
    ensure => absent,
    tag    => [
      'stig_red_hat_enterprise_linux_7',
      'V-71967',
    ],
  }

  package { 'vsftpd':
    ensure => absent,
    tag    => [
      'stig_red_hat_enterprise_linux_7',
      'V-72299',
    ],
  }

  package { 'telnet-server':
    ensure => absent,
    tag    => [
      'stig_red_hat_enterprise_linux_7',
      'V-72077',
    ],
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp