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
d6aac4c7
Commit
d6aac4c7
authored
Jul 08, 2021
by
James T. Lee
Browse files
network: Enable iwd debug for status widget
parent
6d407e87
Changes
1
Show 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 @
d6aac4c7
...
@@ -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
,
}
}
...
...
James T. Lee
@james
mentioned in commit
60b47520
·
Jul 08, 2021
mentioned in commit
60b47520
mentioned in commit 60b475205f8fe0b974b2b24e84bbf83b4d1590ec
Toggle commit list
James T. Lee
@james
mentioned in commit
9c6d2629
·
Jul 09, 2021
mentioned in commit
9c6d2629
mentioned in commit 9c6d262941c59bd58749efcc15ae8cbfff84c1cb
Toggle commit list
James T. Lee
@james
mentioned in commit
a21fef8f
·
Jul 09, 2021
mentioned in commit
a21fef8f
mentioned in commit a21fef8fb443de963659754bb4167b26247d12b1
Toggle commit list
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