summaryrefslogtreecommitdiff
path: root/manifests/imagemagick.pp
blob: bdf1a680e65918dc2e2b7a61408decd22cf320c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Imagemagick configuration
class profiles::imagemagick {
  ensure_packages([
    'imagemagick',
    ])

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