Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
networking
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nationellt superdatorcentrum
puppetmodules
networking
Commits
df64efec
Commit
df64efec
authored
6 years ago
by
Thomas Bellman
Browse files
Options
Downloads
Patches
Plain Diff
Add a couple of comments to resolve_ipnets__netspec().
This was originally commit 4d2317af9d18 in nsc-puppet-utils.
parent
11b73c62
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/puppet/parser/functions/resolve_ipnets.rb
+2
-1
2 additions, 1 deletion
lib/puppet/parser/functions/resolve_ipnets.rb
with
2 additions
and
1 deletion
lib/puppet/parser/functions/resolve_ipnets.rb
+
2
−
1
View file @
df64efec
...
...
@@ -64,8 +64,9 @@ module Puppet::Parser::Functions
# when returning a stable order; thus collect per family and remember
# the order we found the families in. Then sort each family, and
# concatenate.
# NOTE: This can still break RFC 3484/6724 ordering.
ips
=
{
}
# Mapping from IP family to list of addresses
found_families
=
[
]
found_families
=
[
]
# Order of IP families found
err
=
nil
wanted_families
.
each
do
|
family
|
family
=
RESOLVE_IPNETS__IPFAMILIES
.
fetch
(
family
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment