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
9f59ae1f
authored
Apr 24, 2018
by
John Donnal
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
install ethstream from source
parent
b0fe7c7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
modules/nilm/manifests/init.pp
modules/nilmplug/manifests/init.pp
modules/nilm/manifests/init.pp
View file @
9f59ae1f
...
...
@@ -28,6 +28,20 @@ class nilm {
#owner => root,
#group => root
}
vcsrepo
{
'/opt/ethstream'
:
ensure
=>
latest
,
provider
=>
git
,
notify
=>
Exec
[
'install_ethstream'
],
source
=>
'https://git.wattsworth.net/wattsworth/ethstream.git'
,
owner
=>
root
}
exec
{
'install_ethstream'
:
command
=>
'make install'
,
cwd
=>
'/opt/ethstream'
,
path
=>
[
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
],
creates
=>
'/usr/local/bin/ethstream'
,
require
=>
[
Vcsrepo
[
'/opt/ethstream'
]]
}
file
{
'/usr/local/bin/ethstream'
:
owner
=>
root
,
group
=>
root
,
...
...
modules/nilmplug/manifests/init.pp
View file @
9f59ae1f
...
...
@@ -18,7 +18,7 @@ class nilmplug {
timeout
=>
0
,
path
=>
[
'/usr/local/bin'
,
'/usr/bin'
],
}
exec
{
'initialize_nilm'
:
exec
{
'initialize_nilm
plug
'
:
command
=>
'nilm-plug --initialize'
,
path
=>
[
'/usr/local/bin'
,
'/usr/sbin'
,
'/bin'
],
creates
=>
'/etc/udev/rules.d/90-nilmplug.rules'
,
...
...
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