I am attempting to set policy limits and I need to do this for a whole range of hosts via puppet.
Becasue of this I would like to place the config in a global place that will be honoured regardless of image magick version.
I have some hosts with V6 and some with V7.
I have tried to place the policy.xml file in;
/etc/ImageMagick
/etc/ImageMagick/config
/usr/etc/ImageMagick
/usr/etc/ImageMagick/config
/usr/local/etc/ImageMagick
/usr/local/etc/ImageMagick/config
And none of these appear to work.
The following directory does exist, and has a blank policy that I have moved out of the way for now
/usr/lib64/ImageMagick-6.5.4/config
If I place my policy here then everything works.
My problem is I need a version-agnostic directory to put these config files in.
I am using binary packages on CentOS 6, I assume this may simply be because they built the packages without version-agnostic config directories? I'm sure this is meant to be allowed to work.
Any help greatly appreciated.
n
Policy file location
-
- Posts: 2
- Joined: 2016-05-10T01:48:14-07:00
- Authentication code: 1151
Re: Policy file location
Type this command:
- convert -debug configure logo: null:
- convert -list policy
-
- Posts: 2
- Joined: 2016-05-10T01:48:14-07:00
- Authentication code: 1151
Re: Policy file location
Thanks, that does show me the paths that I can use.
Unfortunately it also confirms that CentOS/RedHat have set their packages up to only look at versioned directories.
I won't say what I think should be done to them.
Unfortunately it also confirms that CentOS/RedHat have set their packages up to only look at versioned directories.
I won't say what I think should be done to them.