Hello,

I try to setup a reverse proxy and I think I wonder what I am doing wrong.

I have 3 hosts:
- revproxy the reverse proxy
- webapp the server where the web application is installed


--8<---------------cut here---------------start------------->8---
body common control
{
    bundlesequence => { "test" };
}

bundle agent test
{
classes:

    "Appli" expression => "webapp|revproxy";
    "ReverseProxy" expression => "revproxy";


vars:

    revproxy::
        "IpAddress" string => "10.1.2.3";

    webapp::
        "IpAddress" string => "10.4.5.6";

    webapp.appli::
        "UrlPath" string => "/path/to/appli";
}
--8<---------------cut here---------------end--------------->8---

Now I need to edit a file on revproxy and insert the IpAddress of
all the hosts which define the webapp class (just one for now).

Any idea how to do this?

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpj46bdjZDce.pgp
Description: PGP signature

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to