Policy file location
Posted: 2016-05-10T02:02:26-07:00
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
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