~canonical-ci-engineering/uci-engine/trunk

« back to all changes in this revision

Viewing changes to charms/precise/rabbitmq-worker/config.yaml

  • Committer: Ubuntu CI Bot
  • Author(s): Celso Providelo
  • Date: 2015-01-07 14:33:28 UTC
  • mfrom: (911.1.8 charms-cleanup)
  • Revision ID: ubuntu_ci_bot-20150107143328-q0d037ojtopm3n9d
Removing the charms from UCI-E since they live in isolated branches now and also adjusting the run-tests to stop loading/running charm tests.

Updating local j-d copy to trunk (r126) for proper support for charm branch pinning. [r=Evan Dandrea]

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
options:
2
 
  current_code:
3
 
    type: string
4
 
    description: A URL to a tarball of the code
5
 
  available_code:
6
 
    type: string
7
 
    description: |
8
 
      A list of code deployment URLs to keep around. Any versions found locally
9
 
      not in this list will be removed.
10
 
  packages:
11
 
    type: string
12
 
    description: "Packages required for this service"
13
 
  pip-packages:
14
 
    type: string
15
 
    description: "Pip packages required for this service"
16
 
  install_root:
17
 
    type: string
18
 
    description: "The root directory the service will be installed in"
19
 
    default: "/srv/"
20
 
  main:
21
 
    type: string
22
 
    description: "The worker script to run as a service. Can include paths relative to root of the local source tree"
23
 
  unit-config:
24
 
    type: string
25
 
    description: |
26
 
      base64 encoded string to hold configuration information for the unit.
27
 
      The contents will be written to a file named
28
 
       <install_root>/<unit>/unit_config
29
 
      where <unit> is the location the branch is extracted to.
30
 
 
31
 
  uid:
32
 
    type: string
33
 
    default: nobody
34
 
    description: User to run service as
35
 
  gid:
36
 
    type: string
37
 
    default: nogroup
38
 
    description: Group to run service as
39
 
 
40
 
  # required for rabbitmq-server charm:
41
 
  amqp-user:
42
 
      type: string
43
 
      default: 'workerbee'
44
 
      description: The user to log into the rabbitMQ server.
45
 
  amqp-vhost:
46
 
      type: string
47
 
      default: '/'
48
 
      description: The vhost in the rabbitMQ server.
49
 
 
50
 
  json_status_port:
51
 
      type: int
52
 
      default: 8080
53
 
      description: Optional port a worker might expose for json status checks
54
 
 
55
 
  # Apt
56
 
  install_sources:
57
 
      type: string
58
 
      default: ""
59
 
      description: |
60
 
          YAML list of additional installation sources, as a string. The number
61
 
          of install_sources must match the number of install_keys. For
62
 
          example:
63
 
            install_sources: |
64
 
             - "ppa:project1/ppa"
65
 
             - "cloud:precise-proposed/folsom"
66
 
             - "http://example.com/repo precise main"
67
 
  install_keys:
68
 
      type: string
69
 
      default: ""
70
 
      description: |
71
 
          YAML list of GPG keys for installation sources, as a string. For apt
72
 
          repository URLs, use the public key ID used to verify package
73
 
          signatures. For other sources such as PPA, use null. This
74
 
          list must have the same number of elements as install_sources, even
75
 
          if the key items are all empty string. An example to go with the
76
 
          above for install_sources:
77
 
            install_keys: |
78
 
             - null
79
 
             - null
80
 
             - "a1b2c3d4"
81
 
 
82
 
  # Required by 'nrpe-external-master' interface.
83
 
  nagios_context:
84
 
    default: "rabbitmq-worker"
85
 
    type: string
86
 
    description: >
87
 
        Used by the nrpe-external-master subordinate charm.
88
 
        A string that will be prepended to instance name to set the host
89
 
        name in nagios. So for instance the hostname would be something
90
 
        like:
91
 
            juju-postgresql-0
92
 
        If you\'re running multiple environments with the same services in them
93
 
        this allows you to differentiate between them.
94
 
  nagios_check_http_params:
95
 
     default: ""
96
 
     type: string
97
 
     description: The parameters to pass to the nrpe plugin check_http.
98
 
  nagios_check_health_params:
99
 
     default: ""
100
 
     type: string
101
 
     description: The parameters to pass to the nrpe plugin check_health.
102
 
 
103
 
  cron_cmd:
104
 
      type: string
105
 
      default: ""
106
 
      description: Allow a command to be run periodically by cron. This can be specified as a relative path to the root directory of your tarball.
107
 
  cron_schedule:
108
 
      type: string
109
 
      default: "0 0 * * *"
110
 
      description: Cron-format schedule interval to run the command (m h dom mon dow)