我对puppet很新,我试图在我的木偶'config.pp'中使用下面的代码片段在'httpd.conf'文件中传递TimeOut值
replace { 'Httpd Timeout':
file => 'httpd.conf',
pattern => 'TimeOut*',
replacement => 'TimeOut 900',
}
但是,不是替换代码,而是将值“900”附加到下面的行
"TimeOut 900 300 "
我如何修改下面的行代码
TimeOut 900
我正在使用Puppet社区版本3.7