Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-passive-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source
icinga-passive-client
Commits
62527ca6
Commit
62527ca6
authored
2 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
remove invalid line in cleanup
parent
4ccadbc1
No related branches found
No related tags found
1 merge request
!26
remove invalid line in cleanup
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
director-cli.sh
+4
-4
4 additions, 4 deletions
director-cli.sh
with
4 additions
and
4 deletions
director-cli.sh
+
4
−
4
View file @
62527ca6
...
...
@@ -19,6 +19,7 @@
# 2022-03-04 v0.3 ah abort on http 5xx error
# 2023-01-22 v0.4 ah fix _bStopOnError; some shellfixes
# 2023-02-17 v0.5 ah add hostnamme into CFGSTORAGE
# 2023-02-17 v0.6 ah remove invalid line in cleanup
# ======================================================================
tmpfile
=
/tmp/outcurl.tmp
...
...
@@ -614,12 +615,12 @@ typeset cfg_dryrun=false
# cleanup services - delete unneded links
function
svclinkCleanup
(){
_h2
"Cleanup linked service templates"
tmpRemote
=
/tmp/remoteLinks
tmpLocal
=
/tmp/localChecks
tmpRemote
=
/tmp/remoteLinks
_
${
MY_NAME
}
.tmp
tmpLocal
=
/tmp/localChecks
_
${
MY_NAME
}
.tmp
# --- perpare I: create file with remote service template links
ObjAction list svclink
>
$tmpRemote
ObjAction list svclink
|
grep
-v
'>>>'
>
$tmpRemote
# --- perpare II: create file with local configs and object names for its link
rm
-f
$tmpLocal
2>/dev/null
...
...
@@ -653,7 +654,6 @@ typeset cfg_dryrun=false
echo
---
done
.
}
# ----------------------------------------------------------------------
# functions for Director
# ----------------------------------------------------------------------
...
...
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