Instead of the case statements in init.pp, I do something like this:

if defined("foo::$release") { include "foo::$release" }

... not necessarily a "quality enhancement," but it saves on the
typing.

On Aug 19, 7:04 am, Dennis Hoppe <dennis.ho...@debian-solutions.de>
wrote:
> Hello,
>
> i have written some modules for Puppet and would be thankful, if someone
> could take a look for quality enhancements.
>
>        http://194.94.79.17/hotkey/puppet.tar.gz
>
> The only nasty part is, that i have defined some global variables at the
> site.pp, which i am using at several templates.
>
> And i am looking for a solution to collect the hostnames and ipaddresses
> of all connected nodes, without using a stored config like an database
> or ldap. I need this values for some templates. For example the config
> of dsh (distributed shell), rsnapshot or the "/etc/hosts" including all
> hosts.
>
> Regards, Dennis
>
>  signature.asc
> < 1KViewDownload

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

Reply via email to