Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
salt-state
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
FFFFM
salt-state
Commits
7514bb18
Commit
7514bb18
authored
6 years ago
by
skorpy
Browse files
Options
Downloads
Patches
Plain Diff
fixup! fixup! _modules: update
parent
230ca9e9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20729
passed
6 years ago
Stage: highstate
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_modules/domain.py
+0
-21
0 additions, 21 deletions
_modules/domain.py
with
0 additions
and
21 deletions
_modules/domain.py
deleted
100644 → 0
+
0
−
21
View file @
230ca9e9
def
pretty_names
():
domains
=
{}
for
domain
in
__salt__
[
'
pillar.get
'
](
'
domains
'
).
values
():
for
domain_code
,
domain_pretty
in
domain
[
'
domain_names
'
].
items
():
domains
[
domain_code
]
=
domain_pretty
.
decode
(
'
utf-8
'
)
return
domains
def
domain_codes
():
codes
=
[]
for
domain
in
__salt__
[
'
pillar.get
'
](
'
domains
'
).
keys
():
codes
.
extend
(
__salt__
[
'
pillar.get
'
](
'
domains:%s:domain_names
'
%
domain
).
keys
())
return
codes
def
radv_enabled
(
domain_key
):
host
=
__salt__
[
'
pillar.get
'
](
'
radv:enabled
'
,
True
)
domain
=
__salt__
[
'
pillar.get
'
](
'
domains:%s:radv:enabled
'
%
domain_key
,
True
)
return
host
and
domain
This diff is collapsed.
Click to expand it.
MyIgel
@MyIgel
mentioned in commit
148599bc
·
6 years ago
mentioned in commit
148599bc
mentioned in commit 148599bc47fd237826a48c16a1800a4880e98e65
Toggle commit list
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