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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source
icinga-passive-client
Commits
d40865bb
Commit
d40865bb
authored
4 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
remove facter in director.cli
parent
1d446e77
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
director-cli.sh
+4
-3
4 additions, 3 deletions
director-cli.sh
plugins
+1
-1
1 addition, 1 deletion
plugins
with
5 additions
and
4 deletions
director-cli.sh
+
4
−
3
View file @
d40865bb
...
@@ -24,9 +24,10 @@ tmpfile2=/tmp/outcurl2.tmp
...
@@ -24,9 +24,10 @@ tmpfile2=/tmp/outcurl2.tmp
APICLIENT
=
`
dirname
$0
`
/api2director
APICLIENT
=
`
dirname
$0
`
/api2director
MY_NAME
=
`
facter fqdn |
cut
-f
-2
-d
">"
`
# MY_NAME=`facter fqdn | cut -f -2 -d ">"`
MY_IP
=
`
facter ipaddress |
cut
-f
-2
-d
">"
`
# MY_IP=`facter ipaddress | cut -f -2 -d ">"`
# MY_IP=`_getIpFrontend`
MY_NAME
=
`
hostname
-f
`
MY_IP
=
`
_getIpFrontend
`
typeset
cfg_debug
=
false
typeset
cfg_debug
=
false
...
...
This diff is collapsed.
Click to expand it.
plugins
@
3434a495
Subproject commit
ee916f183663f7a694490cf91ea6f0c3d64b59bf
Subproject commit
3434a495ba0f558aa327b79ca5eae44c5d0ca6b6
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