Puppet Class: security_baseline::world_writeable_files_cron

Defined in:
manifests/world_writeable_files_cron.pp

Summary

A short summary of the purpose of this class

Overview

A description of what this class does

Examples:

include security_baseline::world_writeable_files_cron


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'manifests/world_writeable_files_cron.pp', line 7

class security_baseline::world_writeable_files_cron {
  $filename = '/root/world-writable-files.txt'

  file { '/usr/share/security_baseline/bin/world-writable-files.sh':
    ensure  => present,
    content => epp('security_baseline/world-writeable-files.epp', { filename => $filename }),
    owner   => 'root',
    group   => 'root',
    mode    => '0700',
  }

  file { '/etc/cron.d/world-writebale-files.cron':
    ensure => present,
    source => 'puppet:///modules/security_baseline/world-writeable-files.cron',
    owner  => 'root',
    group  => 'root',
    mode   => '0644',
  }
}