Hello!

I have n mod-proxy servers. I wish to list all mod-proxy entries in the text file like a:

mod-proxy1 www.example.com example.internal.lan
mod-proxy1 www.example2.com example2.internal.lan
mod-proxy2 www.example3.com example3.internal.lan
..
and via puppet get

on mod-proxy1 server

/etc/nginx.conf/example.conf:
server {
    server_name www.example.com;
    proxy_pass http://example.internal.lan;

    include conf.d/common.inc;
}

/etc/nginx.conf/example2.conf:
server {
    server_name www.example2.com;
    proxy_pass http://example2.internal.lan;

    include conf.d/common.inc;
}

on mod-proxy2 server

/etc/nginx.conf/example3.conf:
server {
    server_name www.example3.com;
    proxy_pass http://example3.internal.lan;

    include conf.d/common.inc;
}


how can i do it via puppet? should i look somewhere on extlookoop()

--
С уважением,
Васильев Алексей

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to