Skip to content

Commit 970458d

Browse files
committed
fix: subscribe to the netbird start event instead of netbird install event for connecting with vpn
Signed-off-by: Sidharth Jawale <sidharth@obmondo.com>
1 parent 1ead2e7 commit 970458d

File tree

1 file changed

+2
-2
lines changed
  • modules/enableit/profile/manifests/network

1 file changed

+2
-2
lines changed

modules/enableit/profile/manifests/network/netbird.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
if $facts['init_system'] == 'systemd' {
8383
Exec <| tag == 'systemd-netbird.service-systemctl-daemon-reload' |> {
8484
noop => $noop_value,
85-
subscribe => Exec['netbird_service_install'],
85+
subscribe => Exec['netbird_service_start'],
8686
}
8787
}
8888

@@ -96,7 +96,7 @@
9696
"NB_MANAGEMENT_URL=${server}",
9797
],
9898
unless => "netbird status -d | grep -i 'Management: Connected'",
99-
subscribe => Exec['netbird_service_install'],
99+
subscribe => Exec['netbird_service_start'],
100100
notify => Service['netbird'],
101101
}
102102
}

0 commit comments

Comments
 (0)