Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos
Commits
b7f4267c
Commit
b7f4267c
authored
Jul 12, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add software netdrive-reporter
parent
085ce152
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
0 deletions
+66
-0
software/netdrive-reporter/instance.cfg.in
software/netdrive-reporter/instance.cfg.in
+43
-0
software/netdrive-reporter/software.cfg
software/netdrive-reporter/software.cfg
+23
-0
No files found.
software/netdrive-reporter/instance.cfg.in
0 → 100644
View file @
b7f4267c
[buildout]
parts =
directory
main
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[instance-parameter]
recipe = slapos.cookbook:slapconfiguration
computer = $${slap_connection:computer_id}
partition = $${slap_connection:partition_id}
url = $${slap_connection:server_url}
key = $${slap_connection:key_file}
cert = $${slap_connection:cert_file}
configuration.name = Anonymous
[directory]
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc
script = $${:etc}/run
service = $${:etc}/service
promise = $${:etc}/promise
report = $${buildout:directory}/var/xml_report
[main]
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/netdrive-reporter
--master-url=$${instance-parameter:url}
--computer-id=$${instance-parameter:computer}
--cert-file=$${instance-parameter:cert}
--key-file=$${instance-parameter:key}
--report-path=$${directory:report}
--report-interval=300.0
--data-file=$${directory:etc}/data
wrapper-path = $${directory:service}/netdrive-reporter
[publish-connection-parameter]
recipe = slapos.cookbook:publish
name = Net Drive Usage Report -- $${instance-parameter:configuration.name}!
software/netdrive-reporter/software.cfg
0 → 100644
View file @
b7f4267c
[buildout]
extends =
../../stack/slapos.cfg
parts =
slapos-cookbook
netdrive-usage-report
instance-template
[netdrive-usage-report]
recipe = zc.recipe.egg
eggs =
slapos.core
lxml
zc.buildout
netdrive >= 0.1.3
[instance-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
mode = 0644
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