Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
befc82aa
authored
Jan 14, 2022
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added symlink to nilm so it can be run with sudo
parent
8e4038e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
modules/nilm/manifests/config.pp
modules/nilm/manifests/config.pp
View file @
befc82aa
...
...
@@ -3,13 +3,10 @@ class nilm::config{
# 'nilm-filter-prep','nilm-filter-sinefit',
# 'nilm-filter-reconstructor','nilm-filter-rawtoprep',
# 'nilm-plug','jim-term']
# $nilm_bin.each |String $name| {
# file{"/usr/local/bin/$name":
# ensure => link,
# target => "/var/venvs/joule/bin/$name"
# }
# }
file
{
"/usr/local/bin/nilm"
:
ensure
=>
link
,
target
=>
"/var/venvs/joule/bin/nilm"
}
exec
{
'initialize_nilm'
:
command
=>
'nilm initialize'
,
path
=>
[
'/var/venvs/joule/bin'
,
'/usr/local/bin'
,
'/usr/sbin'
,
'/bin'
],
...
...
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