Skip to content

shield-agent job from shield/5

Github source: c2df3ed5 or master branch

Properties

shield

agent

authorize_generated_daemon_key

permit access via generated worker key, local to deployment

Default
true
authorized_keys

public keys to permit

Default
[]
autoprovision

Optional HTTP API of the Shield installation to automatically provision authorized keys from

port

port to run agent

Default
5444
recovery
store_config

A map of key-values that will be converted to JSON, representing the store plugin configration

store_plugin

Store plugin to use in emergency-recovery-mode

target_config

A map of key-values that will be converted to JSON, representing the target plugin configration

target_plugin

Target plugin to use in emergency-recovery-mode

job

name

Job name

retention

Name of job retention

schedule

Name of job schedule

store

Name of job store

log_level

Log level for shield processes

Default
info

target

config

Hash of config information

name

Target name

plugin

Plugin type

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/shield-agent/ directory (learn more).

  • bin/ctl (from bin/ctl)
  • bin/emergency-recovery (from bin/emergency-recovery.erb)
  • bin/monit_debugger (from bin/monit_debugger)
  • bin/post-start (from bin/post-start.erb)
  • config/shield-agent.conf (from config/shield-agent.conf.erb)
  • config/target.json (from config/target.json.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.