-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lawrence W wrote:
> I need to be able to set up several server settings (DNS/Zabbix/etc)
> based on the network that a server is connected to. Could someone show
> me a straight forward way of doing this?
> 
> if generate supported pipes I might be able to swing this but
> apparently I need some help.

Existing or custom facts?

http://reductivelabs.com/trac/puppet/wiki/AddingFacts

case $network {
    network1:   { include server1 }
    network2:  { include server2  }
    default: { include generic_server }
}

Regards

James Turnbull

- --
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJFLWx9hTGvAxC30ARAt/pAJ9jxsLrqb1lbLuLwXnLiuHuG3LGzQCggNfZ
dM9GzrhjI8NKo3NI3PF9Q74=
=PlG5
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
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