# 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' }, ] }), } }