Rundeck 2.0.0-beta1
Now available:
- download via bintray:
- documentation:
#!/bin/bash | |
PROJ=$1 | |
shift | |
USERNODE=$1 | |
shift | |
TAGS="$*" | |
( echo $USERNODE | grep -q '@' ) && { |
--- | |
description: API Application level access control | |
context: | |
application: 'rundeck' | |
for: | |
resource: | |
- equals: | |
kind: system | |
allow: [read] # allow read of system info |
loglevel.default = "DEBUG" | |
rdeck.base = "/var/lib/rundeck" | |
rss.enabled = true | |
dataSource { | |
dbCreate = "update" | |
url = "jdbc:h2:file:/var/lib/rundeck/data/rundeckdb;MVCC=true" | |
} | |
import com.dtolabs.rundeck.plugins.logging.StreamingLogWriterPlugin; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.dtolabs.rundeck.core.logging.LogEvent; | |
import com.dtolabs.rundeck.core.logging.LogLevel; | |
/** | |
* Opens a TCP connection, and writes JSON event messages to the socket | |
*/ | |
rundeckPlugin(StreamingLogWriterPlugin){ | |
configuration{ |
description: Project scope for group | |
context: | |
project: '.*' | |
for: | |
job: | |
- equals: | |
group: 'example' | |
name: 'Restart' | |
allow: [run,read] | |
- equals: |
{ | |
"steps": [ | |
{ | |
"executionState": "SUCCEEDED", | |
"id": 1, | |
"stepTargetNodes": [ | |
"dignan" | |
], | |
"nodeStates": { | |
"dignan": { |
// import us.schueler.greg.Rest | |
//base | |
Rest.baseUrl=args[0] | |
def projectName=args[1] | |
def token =System.getenv()['rd_token'] |
description: Admin, all access. | |
context: | |
project: '.*' # all projects | |
for: | |
resource: | |
- allow: '*' # allow read/create all kinds | |
adhoc: | |
- allow: '*' # allow read/running/killing adhoc jobs | |
job: | |
- match: |
package com.dtolabs.rundeck.app.internal.logging | |
import com.dtolabs.rundeck.core.execution.Contextual | |
import com.dtolabs.rundeck.core.logging.LogLevel | |
import com.dtolabs.rundeck.core.logging.LogUtil | |
import com.dtolabs.rundeck.core.logging.StreamingLogWriter | |
/** | |
Thread local buffered log output |
Rundeck 2.0.0-beta1
Now available: