Questions tagged «augeas»

2
如何使用Puppet / Augeas管理exim dc_local_interfaces配置?
我需要将“ dc_local_interfaces”的值设置为“ 127.0.0.1; :: 1”,但分号可以防止这种情况。 这是我在Puppet中的定义: augeas { "/etc/exim4/update-exim4.conf.conf": lens => "Shellvars.lns", incl => "/etc/exim4/update-exim4.conf.conf", changes => "set dc_local_interfaces 127.0.0.1;::1", } 我尝试了不同的方法来设置值(不使用撇号,使用撇号,使用反斜杠转义的撇号),但是没有一种有效。使用augtool时,一切正常: set /files/etc/exim4/update-exim4.conf.conf/dc_local_interfaces "'127.0.0.1;::1'"
2 puppet  exim  augeas 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.