Hi

> I think that would be terrible.  Having two different paths for the
> same namespace is confusing and will easily lead to problems.

yeah I feel more this way as well.

> However, the example you give is correct: you can't have the same
> module name in two modulepaths and usually want to prefix the
> classnames to avoid name collisions.

so for the Best Practises:

If we do multiple sources for a file (and I do that a lot, as it makes
puppet so flexible) what would you prefer?

in module foobar and the 0.25 way:

file{'/tmp/a':
  source => [ "puppet:///files/foobar/${fqdn}/a",
              "puppet:///files/foobar/a",
              "puppet:///modules/foobar/${operatingsystem}/a",
              "puppet:///modules/foobar/a" ],
}

or

file{'/tmp/a':
  source => [ "puppet:///modules/site-foobar/${fqdn}/a",
              "puppet:///modules/site-foobar/a",
              "puppet:///modules/foobar/${operatingsystem}/a",
              "puppet:///modules/foobar/a" ],
}

???

cheers pete

--~--~---------~--~----~------------~-------~--~----~
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 
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