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
d5c89724
Commit
d5c89724
authored
Jul 08, 2021
by
James T. Lee
Browse files
network: Enable iwd debug for status widget
parent
f5c54c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
manifests/base/network.pp
manifests/base/network.pp
+28
-2
No files found.
manifests/base/network.pp
View file @
d5c89724
...
@@ -38,10 +38,33 @@ class nest::base::network {
...
@@ -38,10 +38,33 @@ class nest::base::network {
show_diff
=>
false
,
show_diff
=>
false
,
source
=>
'puppet:///modules/nest/private/iwd'
,
source
=>
'puppet:///modules/nest/private/iwd'
,
}
}
->
->
# iwd monitors state directory changes
service
{
'iwd'
:
service
{
'iwd'
:
enable
=>
true
,
enable
=>
true
,
}
}
$iwd_debug_override
=
@
(
IWD_DEBUG
)
[
Service
]
ExecStart
=
ExecStart
=/
usr
/
libexec
/
iwd
--
debug
|
IWD_DEBUG
file
{
default
:
mode
=>
'0644'
,
owner
=>
'root'
,
group
=>
'root'
,
;
'/etc/systemd/system/iwd.service.d'
:
ensure
=>
directory
,
;
'/etc/systemd/system/iwd.service.d/10-debug.conf'
:
content
=>
$iwd_debug_override
,
notify
=>
Service
[
'iwd'
]
;
}
}
else
{
}
else
{
service
{
'iwd'
:
service
{
'iwd'
:
ensure
=>
stopped
,
ensure
=>
stopped
,
...
@@ -52,7 +75,10 @@ class nest::base::network {
...
@@ -52,7 +75,10 @@ class nest::base::network {
ensure
=>
absent
,
ensure
=>
absent
,
}
}
->
->
file
{
'/var/lib/iwd'
:
file
{
[
'/etc/systemd/system/iwd.service.d'
,
'/var/lib/iwd'
,
]:
ensure
=>
absent
,
ensure
=>
absent
,
force
=>
true
,
force
=>
true
,
}
}
...
...
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