> <
https://tickets.puppetlabs.com/browse/PUP-121>, the issue for removing
> that behavior.
>
> That only rarely bit people, but it bit enough people, often enough,
> that for a time it was considered best practice to always use
> fully-qualified names (which is effectively what the `::` prefix
> produces). But Puppet, Inc. decided that the negatives of relative name
> resolution outweighed the positives, including the positive of
> minimizing breaking changes, so relative name resolution was removed in
> Puppet 4. Nowadays, the :: prefix is accepted for backwards
> compatibility, but it conveys no additional meaning.
>
Adding to what John said above:
There is no additional meaning for class names when it starts with '::',
it does however make a difference when referencing variables. If a
variable contains '::' (anywhere) it is always taken as an absolute
reference starting from topscope. Thus something like '$::x' is the
topscope $x, a '$x' is a local, inherited or topscope variable 'x', and
'$x::y' and '$::x::y' are exactly the same thing.
- Henrik
>
> John
>
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
puppet-users...@googlegroups.com
> <mailto:
puppet-users...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/puppet-users/325d0f92-98a4-462c-9378-ae189a22be5c%40googlegroups.com
> <
https://groups.google.com/d/msgid/puppet-users/325d0f92-98a4-462c-9378-ae189a22be5c%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/