Sha256: 71b5ebd9a57895b621aa0098f8d891da4929b8cef07fd76921d7cbdb5caa350b
Contents?: true
Size: 1.35 KB
Versions: 2
Compression:
Stored size: 1.35 KB
Contents
# class profile::base { if $::os['family'] == 'RedHat' { stage { 'repos': before => Stage['main'], } class { '::epel': stage => 'repos', } include ::systemd include ::profile::base::rhel } include ::gcc profile::dns::host_record { $facts['fqdn']: record => $facts['fqdn'], ip => $facts['networking']['ip'], } $packages = [ 'tree', 'vim', 'git', 'htop', 'zlib', 'zlib-devel', 'jq', 'ruby', 'ruby-devel', 'multitail', 'haveged', 'cmake', 'tmux', 'unzip', ] package { $packages: ensure => latest, } class { '::selinux': mode => 'disabled', type => 'minimum', notify => Reboot['after_run'], } reboot { 'after_run': apply => finished, } # Use haveged for entropy generation service { 'haveged': ensure => running, enable => true, require => Package['haveged'], } # Make sure that we install git before we try to use it Package['git'] -> Vcsrepo <| provider == 'git' |> file { '/etc/puppetlabs/puppet/csr_attributes.yaml': ensure => absent, } file { '/etc/motd': ensure => file, owner => 'root', group => 'root', mode => '0644', source => 'puppet:///modules/profile/motd', tag => [ 'cis_red_hat_enterprise_linux_7', '1.7.1.1', ], } }
Version data entries
2 entries across 2 versions & 1 rubygems