bserdar / jcliff

Manage JBossAS 7/EAP6/Wildfly with modular configuration files from command line, puppet, ansible, chef, etc.
Other
43 stars 26 forks source link

access-log 's directory is not managed #75

Closed wat-org closed 6 years ago

wat-org commented 6 years ago

When specifying this :

{
    "web" => {
        "virtual-server" => {"default-host" => {
            "configuration" => {"access-log" => {
                "extended" => false,
                "pattern" => "%a %t %H %p %U %s %D %I",
                "prefix" => "access_log.",
                "resolve-hosts" => false,
                "rotate" => true,
                "configuration" => {"directory" => {
                    "path" => ".",
                    "relative-to" => "jboss.server.log.dir"
                }}
            }}
        }}
    }
}

the fragment concerning the 'directory' is ignored by cliff

bserdar commented 6 years ago

Note that it is setting => { directory => {... } } not configuration => { directory => {...}}

wat-org commented 6 years ago

many thanks I will test this new version immediatly