We would like to run particular setting value on ContentDelivery or ContentManagement server only in Sitecore 9.1.1.
Config file
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<services>
<configurator type="name, assembly name" />
</services>
<settings>
<setting name="Name" value="web" require="ContentDelivery" />
<setting name="Name" value="master" require="ContentManagement" />
</settings>
<mvc>
<precompilation>
<assemblies>
<assemblyIdentity name="project name" />
</assemblies>
</precompilation>
</mvc>
</sitecore>
</configuration>
We have added require attribute (require="ContentDelivery"
) but it's not working.