Puppet Class: imagemagick::install

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

Overview

Class imagemagick::install

Installs imagemagick and our custom policy



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

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

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