Puppet Class: imagemagick::install

Defined in:
modules/imagemagick/manifests/install.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class imagemagick::install

Installs imagemagick and our custom policy



5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/imagemagick/manifests/install.pp', line 5

class imagemagick::install {
    ensure_packages('imagemagick')
    ensure_packages('webp')

    file { '/etc/ImageMagick-6/policy.xml':
        ensure  => present,
        owner   => 'root',
        group   => 'root',
        mode    => '0644',
        source  => 'puppet:///modules/imagemagick/policy.xml',
        require => Package['imagemagick'],
    }
}