augeas

    1热度

    2回答

    使用木偶的augeas能力,我想修改配置文件: /etc/ssh/sshd_config 没有傀儡,我使用Augeas的“augtool”试验,发现了几行,这似乎工作: augtool> set /files/etc/ssh/sshd_config/Match[1]/Condition/User "bill","ben" augtool> set /files/etc/ssh/sshd_co

    0热度

    1回答

    在配置文件/ etc/SSH/sshd_config中我要确定像一些特定用户的PasswordAuthentication项(或组): Match Group xyz_admin, xyz_support PasswordAuthentication no Match User yvonne,yvette PasswordAuthentication yes 我不“不想干

    0热度

    1回答

    我有以下XML: <subsystem xmlns="urn:jboss:domain:undertow:1.1"> <buffer-cache name="default"/> <server name="default-server"> <http-listener max-post-size="104857600" name="undertow-http" p

    1热度

    2回答

    我想通过augeas资源修改/设置puppet清单中的/etc/elasticsearch/elasticsearch.yml文件,但它不起作用。有人可以解释我应该指定什么lens文件吗?以及是否需要为此安装额外的东西或所需的镜头是否包含在默认安装中? 我试图改变键值对这样的: key1.key2: value eg: cluster.name: cms-es 我的代码: augeas

    1热度

    1回答

    我最近偶然发现了一款​​名为Augeas的工具。据我所知,该工具可以用来创建一个抽象文件类型独立树,可以在透镜是中介的情况下进行操作。 我想尝试使用它进行文件转换。那可能吗?说,我想将yaml转换为xml。我会怎么做? 使用augtool进行这种转换的一个简单例子会很好。

    0热度

    1回答

    我有一个非常奇怪的xml文件,需要使用augeas进行更新。 <root> <node name="Client"> <node name="Attributes"> <info> <test> <entry><key>colour</key><value type="string">blue</value></entry>

    1热度

    1回答

    我想修改一个centos firewalld区域文件使用augeas和xml镜头。 默认的公共区域文件看起来像: <?xml version="1.0" encoding="utf-8"?> <zone> <short>Public</short> <description>For use in public areas. You do not trust the other

    0热度

    1回答

    我想使用来自Puppet的Augeas管理carbon.conf文件的内容。我之前在Puppet中使用过Augeas来管理一个xml文件,而且效果很好。 但是这次应用木偶目录时,carbon.conf文件没有任何反应。日志中也没有错误。 这里是我的代码木偶清单文件: augeas { 'cache config': notify => Service[carbon-cache],

    0热度

    2回答

    <root> <node name="Client"> <node name="Attributes"> <info> <hash> <entry><key>colour</key><value type="string">blue</value></entry> </hash> </info> </node

    0热度

    1回答

    我在尝试使用puppet编辑weblogic config.xml文件来完成SSL配置部分。 下面的启动WebLogic config.xml文件: <?xml version="1.0" encoding="UTF-8"?> <domain ... ... <server> <name>AdminServer</name> <ssl> <name>AdminS