summaryrefslogtreecommitdiff
path: root/modules/profiles/manifests/imagemagick.pp
blob: 7663cf8a61d8c2a6a488e6993f4b6d8990cbe21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class profiles::imagemagick {
  package { 'imagemagick':
    ensure => installed,
  }

  file { '/etc/ImageMagick-7/policy.xml':
    content    => epp('profiles/imagemagick-policy.xml', {
      policies => [
        { 
          domain  => 'coder',
          rights  => 'read | write',
          pattern => 'PDF'
        },
      ]
      }),
  }
}