Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Puppet
Commits
a4ccd9c7
Commit
a4ccd9c7
authored
Feb 01, 2019
by
James T. Lee
Browse files
network: Only mask wait-online on systems with wireless
parent
96cbd69e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
manifests/profile/base/network.pp
manifests/profile/base/network.pp
+7
-2
No files found.
manifests/profile/base/network.pp
View file @
a4ccd9c7
...
@@ -32,9 +32,14 @@ class nest::profile::base::network {
...
@@ -32,9 +32,14 @@ class nest::profile::base::network {
require
=>
Package
[
'net-misc/networkmanager'
],
require
=>
Package
[
'net-misc/networkmanager'
],
}
}
# "mask" service which holds up the boot process
# "mask" service which potentially holds up the boot process when on wireless
$wait_online_ensure
=
$facts
[
'interfaces'
]
?
{
/
(
^|,
)
wl/
=>
symlink
,
default
=>
absent
,
}
file
{
'/etc/systemd/system/NetworkManager-wait-online.service'
:
file
{
'/etc/systemd/system/NetworkManager-wait-online.service'
:
ensure
=>
symlink
,
ensure
=>
$wait_online_ensure
,
target
=>
'/dev/null'
,
target
=>
'/dev/null'
,
notify
=>
Exec
[
'NetworkManager-systemd-daemon-reload'
],
notify
=>
Exec
[
'NetworkManager-systemd-daemon-reload'
],
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment