Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
3db7ba9c
Commit
3db7ba9c
authored
Apr 28, 2016
by
Jérémie Gaidamour
Browse files
[dev] bindg5k: bug fix
parent
c3c841a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
generators/puppet/bindg5k.rb
View file @
3db7ba9c
...
...
@@ -57,7 +57,7 @@ end
# $GENERATE 1-4 ${8,0,d} IN PTR graphite-$-ib0.nancy.grid5000.fr.
def
print_reverse_entry
(
site_uid
,
entry
)
if
entry
[
:start
].
nil?
range
=
"
#{
entry
[
:ip
].
split
(
'.'
)[
4
]
}
"
range
=
"
#{
entry
[
:ip
].
split
(
'.'
)[
3
]
}
"
hostshort
=
entry
[
:uid
]
elsif
entry
[
:start
]
==
entry
[
:end
]
range
=
"
#{
entry
[
:start
]
+
entry
[
:shift
]
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment