forked from ungleich-public/cdist-contrib
__netbox: fix ldap config short-circuit
Forgot to negotate if statement .. works now :/
This commit is contained in:
parent
863c95059e
commit
95fd7d872e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# no configuration if there are no ldap parameters
|
||||
if [ "$(find "$__object/parameter/" -type f -name 'ldap-*' -print)" ]; then
|
||||
if [ -z "$(find "$__object/parameter/" -type f -name 'ldap-*' -print)" ]; then
|
||||
# skip
|
||||
cat << EOF
|
||||
##############################
|
||||
|
|
Loading…
Reference in a new issue