Skip to content

Instantly share code, notes, and snippets.

@makyo
Created February 28, 2014 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makyo/9279138 to your computer and use it in GitHub Desktop.
Save makyo/9279138 to your computer and use it in GitHub Desktop.
Broken Bundle wiki:wiki
{
"branch_deleted":false,
"branch_spec":"~bac/charms/bundles/wiki/bundle",
"changes":[
{
"authors":[
"Brad Crittenden <bac@canonical.com>"
],
"committer":"Brad Crittenden <bac@canonical.com>",
"created":1378218161.439,
"message":"Correct icon",
"revno":3
},
{
"authors":[
"Brad Crittenden <bac@canonical.com>"
],
"committer":"Brad Crittenden <bac@canonical.com>",
"created":1377718535.465,
"message":"Added README and icon",
"revno":2
},
{
"authors":[
"Brad Crittenden <bac@canonical.com>"
],
"committer":"Brad Crittenden <bac@canonical.com>",
"created":1375449744.902,
"message":"Initial checking of working config.",
"revno":1
}
],
"charm_metadata":{
"db":{
"categories":[
"databases"
],
"code_source":{
"bugs_link":"https://bugs.launchpad.net/charms/+source/mysql",
"last_log":"[marcoceppi] Better assurances that MySQL will restart\n",
"location":"lp:~charmers/charms/precise/mysql/trunk",
"revision":"113",
"revisions":[
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-02-15T23:08:38Z",
"message":"[marcoceppi] Better assurances that MySQL will restart\n",
"revno":113
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-02-13T23:30:01Z",
"message":"[hopem] added support for ceph-client use_rsyslog option\n",
"revno":112
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-02-04T21:48:29Z",
"message":"[hopem] Adds support for configurable ceph pool\n",
"revno":111
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-01-07T12:55:55Z",
"message":"[robert-ayres] Fix binlog-format config option\n",
"revno":110
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2013-12-12T17:26:49Z",
"message":"Last retructure of README for charm audit.\n",
"revno":109
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2013-12-12T17:08:00Z",
"message":"Set default vip setting to '' to pass proof.\n",
"revno":108
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2013-12-12T17:02:19Z",
"message":"Update readme with more information.\n",
"revno":107
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-11-12T21:31:27Z",
"message":"[gnuoy] Execute any preinstall code that's in exec.d as part of the install hook.\n",
"revno":106
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-10-25T16:37:07Z",
"message":"Updated README",
"revno":105
},
{
"authors":[
{
"email":"adamg@ubuntu.com",
"name":"Adam Gandelman"
}
],
"date":"2013-08-09T11:08:20Z",
"message":"[ahasenack] Wait for the rbd device to be available before attempting to format it.",
"revno":104
}
],
"type":"bzr"
},
"date_created":"2012-04-16T18:30:00Z",
"description":"MySQL is a fast, stable and true multi-user, multi-threaded SQL database\nserver. SQL (Structured Query Language) is the most popular database query\nlanguage in the world. The main goals of MySQL are speed, robustness and\nease of use.\n",
"distro_series":"precise",
"downloads":17195,
"downloads_in_past_30_days":1675,
"files":[
"hooks/munin-relation-joined",
"hooks/monitors.common.bash",
"hooks/db-relation-joined",
"hooks/shared-db-relation-changed",
"hooks/master-relation-departed",
"hooks/monitors-relation-departed",
"hooks/master-relation-broken",
"hooks/lib/cluster_utils.py",
"hooks/shared_db_relations.py",
"hooks/slave-relation-changed",
"README.md",
"hooks/ha-relation-changed",
"hooks/munin-relation-changed",
"hooks/common.py",
"hooks/start",
"hooks/config-changed",
"hooks/db-relation-broken",
"hooks/shared-db-relation-joined",
"hooks/ha_relations.py",
"hooks/cluster-relation-changed",
"hooks/slave-relation-departed",
"hooks/install",
"hooks/ceph-relation-changed",
"metadata.yaml",
"hooks/ha-relation-joined",
"hooks/stop",
"hooks/local-monitors-relation-joined",
"hooks/db-admin-relation-joined",
"config.yaml",
"hooks/monitors-relation-joined",
"icon.svg",
"hooks/upgrade-charm",
"hooks/lib/utils.py",
"hooks/ceph-relation-joined",
"hooks/master-relation-changed",
"hooks/lib/__init__.py",
"hooks/slave-relation-joined",
"hooks/lib/ceph_utils.py",
"hooks/slave-relation-broken",
"revision",
"hooks/monitors-relation-broken"
],
"id":"precise/mysql-35",
"is_approved":true,
"is_subordinate":false,
"maintainer":{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
},
"name":"mysql",
"options":{
"binlog-format":{
"default":"MIXED",
"description":"If binlogging is enabled, this is the format that will be used. Ignored when tuning-level == fast.",
"type":"string"
},
"block-size":{
"default":5,
"description":"Default block storage size to create when setting up MySQL block storage.\nThis value should be specified in GB (e.g. 100 not 100GB).\n",
"type":"int"
},
"ceph-osd-replication-count":{
"default":2,
"description":"This value dictates the number of replicas ceph must make of any\nobject it stores within the mysql rbd pool. Of course, this only\napplies if using Ceph as a backend store. Note that once the mysql\nrbd pool has been created, changing this value will not have any\neffect (although it can be changed in ceph by manually configuring\nyour ceph cluster).\n",
"type":"int"
},
"dataset-size":{
"default":"80%",
"description":"How much data do you want to keep in memory in the DB. This will be used to tune settings in the database server appropriately. Any more specific settings will override these defaults though. This currently sets innodb_buffer_pool_size or key_cache_size depending on the setting in preferred-storage-engine. If query-cache-type is set to 'ON' or 'DEMAND' 20% of this is given to query-cache-size. Suffix this value with 'K','M','G', or 'T' to get the relevant kilo/mega/etc. bytes. If suffixed with %, one will get that percentage of RAM devoted to dataset and (if enabled) query cache.",
"type":"string"
},
"flavor":{
"default":"distro",
"description":"Possible values are 'distro' or 'percona'",
"type":"string"
},
"ha-bindiface":{
"default":"eth0",
"description":"Default network interface on which HA cluster will bind to communication\nwith the other members of the HA Cluster.\n",
"type":"string"
},
"ha-mcastport":{
"default":5411,
"description":"Default multicast port number that will be used to communicate between\nHA Cluster nodes.\n",
"type":"int"
},
"max-connections":{
"default":-1,
"description":"Maximum connections to allow. -1 means use the server's compiled in default.",
"type":"int"
},
"preferred-storage-engine":{
"default":"InnoDB",
"description":"Tune the server for usage of this storage engine. Other possible value is MyISAM. Comma separated will cause settings to split resources evenly among given engines.",
"type":"string"
},
"query-cache-size":{
"default":-1,
"description":"Override the computed version from dataset-size. Still works if query-cache-type is \"OFF\" since sessions can override the cache type setting on their own.",
"type":"int"
},
"query-cache-type":{
"default":"OFF",
"description":"Query cache is usually a good idea, but can hurt concurrency. Valid values are \"OFF\", \"ON\", or \"DEMAND\". http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_query_cache_type",
"type":"string"
},
"rbd-name":{
"default":"mysql1",
"description":"The name that will be used to create the Ceph's RBD image with. If the\nimage name exists in Ceph, it will be re-used and the data will be\noverwritten.\n",
"type":"string"
},
"tuning-level":{
"default":"safest",
"description":"Valid values are 'safest', 'fast', and 'unsafe'. If set to safest, all settings are tuned to have maximum safety at the cost of performance. Fast will turn off most controls, but may lose data on crashes. unsafe will turn off all protections.",
"type":"string"
},
"vip":{
"default":"",
"description":"Virtual IP to use to front mysql in ha configuration",
"type":"string"
},
"vip_cidr":{
"default":24,
"description":"Netmask that will be used for the Virtual IP",
"type":"int"
},
"vip_iface":{
"default":"eth0",
"description":"Network Interface where to place the Virtual IP",
"type":"string"
}
},
"owner":"charmers",
"rating_denominator":0,
"rating_numerator":0,
"relations":{
"provides":{
"db":{
"interface":"mysql"
},
"db-admin":{
"interface":"mysql-root"
},
"local-monitors":{
"interface":"local-monitors",
"scope":"container"
},
"master":{
"interface":"mysql-oneway-replication"
},
"monitors":{
"interface":"monitors"
},
"munin":{
"interface":"munin-node"
},
"shared-db":{
"interface":"mysql-shared"
}
},
"requires":{
"ceph":{
"interface":"ceph-client"
},
"ha":{
"interface":"hacluster",
"scope":"container"
},
"slave":{
"interface":"mysql-oneway-replication"
}
}
},
"revision":311,
"summary":"MySQL is a fast, stable and true multi-user, multi-threaded SQL database",
"tested_providers":{
},
"url":"cs:precise/mysql-35"
},
"haproxy":{
"categories":[
"cache-proxy"
],
"code_source":{
"bugs_link":"https://bugs.launchpad.net/charms/+source/haproxy",
"last_log":"Added amulet tests for haproxy charm.\n\nR=\nCC=\nhttps://codereview.appspot.com/56140043\n",
"location":"lp:~charmers/charms/precise/haproxy/trunk",
"revision":"76",
"revisions":[
{
"authors":[
{
"email":"matthew.bruzek@canonical.com",
"name":"Matt Bruzek"
}
],
"date":"2014-02-07T12:33:45Z",
"message":"Added amulet tests for haproxy charm.\n\nR=\nCC=\nhttps://codereview.appspot.com/56140043\n",
"revno":76
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-01-24T12:44:32Z",
"message":"[davidpbritton] Add test case and fix for backend \"server\" entries not getting unioned, when multiple units join the relation\n",
"revno":75
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2014-01-07T19:03:42Z",
"message":"README updates as part of charm audit.\n",
"revno":74
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2014-01-07T18:44:16Z",
"message":"Fix typo in config.yaml to pass proof.\n",
"revno":73
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-01-03T16:01:29Z",
"message":"[jseutter] adds support for the backend service to specify errorfiles in the service configuration. If errorfiles are supplied, the haproxy charm will write them to /var/lib/haproxy/<service_name>/<http status>.html and configure haproxy to use them.\n",
"revno":72
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-12-11T21:11:49Z",
"message":"[marcoceppi] Don't proceed if there are no services available\n",
"revno":71
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-11-04T13:52:06Z",
"message":"[sidnei] Fix tests\n",
"revno":70
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-11-04T12:41:56Z",
"message":"[sidnei] This restores some functionality that got removed by accident during my refactoring and was even documented in README.md, namely, that a service can specify a piece of yaml via relation set services=<> to be used when generating the haproxy stanzas.\n",
"revno":69
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-10-17T03:33:48Z",
"message":"[sidnei] The 'all_services' config now supports a static list of servers to be used *in addition* to the ones provided via relation.\n[sidnei] When more than one haproxy units exist, the configured service is upgraded in-place to a mode where traffic is routed to a single haproxy unit (the first one in unit-name order) and the remaining ones are configured as 'backup'. This is done to allow the enforcement of a 'maxconn' session in the configured services, which would not be possible to enforce otherwise.\n[sidnei] Changes to the configured services are properly propagated to the upstream relation.\n",
"revno":68
},
{
"authors":[
{
"email":"mark.mims@canonical.com",
"name":"Mark Mims"
}
],
"date":"2013-06-03T23:13:29Z",
"message":"merging lp:~davidpbritton/charms/precise/haproxy/trunk ",
"revno":67
}
],
"type":"bzr"
},
"date_created":"2012-04-16T18:29:51Z",
"description":"HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. It features connection persistence through HTTP cookies, load balancing, header addition, modification, deletion both ways. It has request blocking capabilities and provides interface to display server status.",
"distro_series":"precise",
"downloads":1785,
"downloads_in_past_30_days":209,
"files":[
"hooks/website-relation-joined",
"hooks/tests/test_nrpe_hooks.py",
"hooks/nrpe-external-master-relation-joined",
"hooks/charmhelpers/fetch/bzrurl.py",
"hooks/tests/test_peer_hooks.py",
"hooks/tests/test_config_changed_hooks.py",
"hooks/tests/test_reverseproxy_hooks.py",
"hooks/hooks.py",
"hooks/tests/utils_for_tests.py",
"hooks/charmhelpers/core/host.py",
"hooks/start",
"hooks/config-changed",
"hooks/reverseproxy-relation-broken",
"metadata.yaml",
"hooks/stop",
"hooks/tests/test_website_hooks.py",
"hooks/charmhelpers/contrib/charmsupport/volumes.py",
"hooks/munin-relation-changed",
"hooks/reverseproxy-relation-departed",
"hooks/peer-relation-joined",
"hooks/website-relation-changed",
"config.yaml",
"hooks/peer-relation-changed",
"hooks/charmhelpers/contrib/charmsupport/nrpe.py",
"hooks/reverseproxy-relation-changed",
"hooks/upgrade-charm",
"hooks/charmhelpers/fetch/archiveurl.py",
"README.md",
"hooks/tests/__init__.py",
"hooks/charmhelpers/core/hookenv.py",
"hooks/install",
"hooks/local-monitors-relation-joined",
"hooks/tests/test_helpers.py"
],
"id":"precise/haproxy-27",
"is_approved":true,
"is_subordinate":false,
"maintainer":{
"email":"Juan Negron <juan@ubuntu.com>Tom Haddon <tom.haddon@canonical.com>",
"name":""
},
"name":"haproxy",
"options":{
"default_log":{
"default":"global",
"description":"Default log",
"type":"string"
},
"default_mode":{
"default":"http",
"description":"Default mode",
"type":"string"
},
"default_options":{
"default":"httplog, dontlognull",
"description":"Default options",
"type":"string"
},
"default_retries":{
"default":3,
"description":"Set the number of retries to perform on a server after a connection\nfailure. It is important to understand that this value applies to the\nnumber of connection attempts, not full requests. When a connection \nhas effectively been established to a server, there will be no more \nretry.\nIn order to avoid immediate reconnections to a server which is \nrestarting, a turn-around timer of 1 second is applied before a retry\noccurs.\n",
"type":"int"
},
"default_timeouts":{
"default":"queue 20000, client 50000, connect 5000, server 50000",
"description":"Default timeouts",
"type":"string"
},
"enable_monitoring":{
"default":false,
"description":"Enable monitoring",
"type":"boolean"
},
"global_debug":{
"default":false,
"description":"Debug or not",
"type":"boolean"
},
"global_group":{
"default":"haproxy",
"description":"Group",
"type":"string"
},
"global_log":{
"default":"127.0.0.1 local0, 127.0.0.1 local1 notice",
"description":"Global log line ( multiples ... comma separated list )",
"type":"string"
},
"global_maxconn":{
"default":4096,
"description":"Sets the maximum per-process number of concurrent connections to\n<number>.\n",
"type":"int"
},
"global_quiet":{
"default":false,
"description":"Quiet",
"type":"boolean"
},
"global_spread_checks":{
"default":0,
"description":"Sometimes it is desirable to avoid sending health checks to servers at\nexact intervals, for instance when many logical servers are located on\nthe same physical server. With the help of this parameter, it becomes \npossible to add some randomness in the check interval between 0 and \n+/- 50%. A value between 2 and 5 seems to show good results.\n",
"type":"int"
},
"global_user":{
"default":"haproxy",
"description":"User",
"type":"string"
},
"monitoring_allowed_cidr":{
"default":"127.0.0.1/32",
"description":"CIDR allowed ( multiple CIDRs separated by space ) access to the\nmonitoring interface.\n",
"type":"string"
},
"monitoring_password":{
"default":"changeme",
"description":"Password to the monitoring interface ( if \"changeme\", a new password\nwill be generated and displayed in juju-log )\n",
"type":"string"
},
"monitoring_port":{
"default":10000,
"description":"Default monitoring port",
"type":"int"
},
"monitoring_stats_refresh":{
"default":3,
"description":"Monitoring interface refresh interval (in seconds)",
"type":"int"
},
"monitoring_username":{
"default":"haproxy",
"description":"Monitoring username",
"type":"string"
},
"nagios_context":{
"default":"juju",
"description":"Used by the nrpe-external-master subordinate charm.\nA string that will be prepended to instance name to set the host name\nin nagios. So for instance the hostname would be something like:\n juju-postgresql-0\nIf you're running multiple environments with the same services in them\nthis allows you to differentiate between them.\n",
"type":"string"
},
"package_status":{
"default":"install",
"description":"The status of service-affecting packages will be set to this value in the dpkg database.\nUseful valid values are \"install\" and \"hold\".\n",
"type":"string"
},
"services":{
"default":"- service_name: haproxy_service\n service_host: \"0.0.0.0\"\n service_port: 80\n service_options: [balance leastconn]\n server_options: maxconn 100\n",
"description":"Services definition(s). Although the variable type is a string, this is\ninterpreted in the charm as yaml. To use multiple services within the\nsame haproxy instance, specify all of the variables (service_name,\nservice_host, service_port, service_options, server_options) with a \"-\"\nbefore the first variable, service_name, as above. Service options is a\ncomma separated list, server options will be appended as a string to\nthe individual server lines for a given listen stanza.\n",
"type":"string"
},
"sysctl":{
"default":"",
"description":"YAML-formatted list of sysctl values, e.g.: '{ net.ipv4.tcp_max_syn_backlog : 65536 }'\n",
"type":"string"
}
},
"owner":"charmers",
"rating_denominator":0,
"rating_numerator":0,
"relations":{
"provides":{
"local-monitors":{
"interface":"local-monitors",
"scope":"container"
},
"munin":{
"interface":"munin-node"
},
"nrpe-external-master":{
"interface":"nrpe-external-master",
"scope":"container"
},
"website":{
"interface":"http"
}
},
"requires":{
"reverseproxy":{
"interface":"http"
}
}
},
"revision":0,
"summary":"fast and reliable load balancing reverse proxy",
"tested_providers":{
},
"url":"cs:precise/haproxy-27"
},
"memcached":{
"categories":[
"applications"
],
"code_source":{
"bugs_link":"https://bugs.launchpad.net/charms/+source/memcached",
"last_log":"Added Juju Amulet tests for memcached charm.\n\nAdded a deploy test, testing memcached with telnet, and configuration test.\n\nR=\nCC=\nhttps://codereview.appspot.com/55950045\n",
"location":"lp:~charmers/charms/precise/memcached/trunk",
"revision":"60",
"revisions":[
{
"authors":[
{
"email":"matthew.bruzek@canonical.com",
"name":"Matt Bruzek"
}
],
"date":"2014-02-11T23:57:10Z",
"message":"Added Juju Amulet tests for memcached charm.\n\nAdded a deploy test, testing memcached with telnet, and configuration test.\n\nR=\nCC=\nhttps://codereview.appspot.com/55950045\n",
"revno":60
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2014-01-15T20:04:13Z",
"message":"Add scale out usage.\n",
"revno":59
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2014-01-15T19:01:06Z",
"message":"Remove boilerplate.\n",
"revno":58
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2014-01-15T18:51:52Z",
"message":"Add instructions for rails charm usage.\n",
"revno":57
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2014-01-15T18:42:43Z",
"message":"Add a README.md\n",
"revno":56
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-07-31T12:29:00Z",
"message":"Pavel Pachkovskij 2013-07-30 fix factor default value\n",
"revno":55
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-04-27T00:13:33Z",
"message":"Added icon.svg\n",
"revno":54
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2013-04-22T19:50:20Z",
"message":"Add categories\n",
"revno":53
},
{
"authors":[
{
"email":"matthew.wedgwood@canonical.com",
"name":"Matthew Wedgwood"
}
],
"date":"2013-04-18T16:23:02Z",
"message":"[mthaddon] support for pre-install hook structure, support for the nrpe-external-master charm\n\nThis adds support for pre-install hook structure, as supported in a number of other charms, which allows you to do things like set timezone, install custom apt repositories, etc.. It also adds support for the nrpe-external-master charm\n",
"revno":52
},
{
"authors":[
{
"email":"nmurata@ashisuto.co.jp",
"name":"Nobuto MURATA"
}
],
"date":"2012-09-20T11:43:25Z",
"message":"fix sh syntax error (LP: #1053356)\n",
"revno":51
}
],
"type":"bzr"
},
"date_created":"2012-04-16T18:29:50Z",
"description":"memcached optimizes specific high-load serving applications that are designed to take advantage of its versatile no-locking memory access system. Clients are available in several different programming languages, to suit the needs of the specific application. Traditionally this has been used in mod_perl apps to avoid storing large chunks of data in Apache memory, and to share this burden across several machines.",
"distro_series":"precise",
"downloads":854,
"downloads_in_past_30_days":61,
"files":[
"hooks/cache-relation-joined",
"hooks/munin-relation-changed",
"hooks/nrpe-external-master-relation-changed",
"icon.svg",
"hooks/upgrade-charm",
"hooks/stop",
"README.md",
"hooks/start",
"hooks/config-changed",
"hooks/install",
"metadata.yaml",
"config.yaml",
"revision"
],
"id":"precise/memcached-12",
"is_approved":true,
"is_subordinate":false,
"maintainer":{
"email":"clint@ubuntu.com",
"name":"Clint Byrum"
},
"name":"memcached",
"options":{
"connection-limit":{
"default":1024,
"description":"maximum simultaneous connections (memcached option -c)",
"type":"int"
},
"disable-auto-cleanup":{
"default":"no",
"description":"do not remove things automatically from the cache on OOM\n(memcached option -M)\n",
"type":"string"
},
"disable-cas":{
"default":"no",
"description":"disable use of CAS (and reduce the per-item size by 8 bytes)",
"type":"string"
},
"disable-large-pages":{
"default":"no",
"description":"The charm will will try to use large pages if given more than 2GB of RAM. You may want to disable this behavior. (memcached option -L)",
"type":"string"
},
"extra-options":{
"default":"",
"description":"memcached has many other options documented in its man page. You may pass them here as a string which will be appended to memcached's execution.",
"type":"string"
},
"factor":{
"default":1.25,
"description":"Use <factor> as the multiplier for computing the sizes of memory\nchunks that items are stored in. A lower value may result in less\nwasted memory depending on the total amount of memory available\nand the distribution of item sizes. The default is 1.25.\n",
"type":"float"
},
"min-item-size":{
"default":-1,
"description":"Allocate a minimum of <size> bytes for the item key, value,\nand flags. The default is 48. If you have a lot of small\nkeys and values, you can get a significant memory efficiency\ngain with a lower value. If you use a high chunk growth factor\n(-f option), on the other hand, you may want to\nincrease the size to allow a bigger percentage of your\nitems to fit in the most densely packed (smallest) chunks.\n(memcached option -n)\n",
"type":"int"
},
"nagios_context":{
"default":"juju",
"description":"Used by the nrpe-external-master subordinate charm. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like:\n juju-memcached-0\nIf you're running multiple environments with the same services in them this allows you to differentiate between them.\n",
"type":"string"
},
"request-limit":{
"default":-1,
"description":"limit of requests a single client can make at one time\n(memcached option -R) -1 takes memcached default (20)\n",
"type":"int"
},
"size":{
"default":768,
"description":"Size of memcache pool in MiB (memcached option -m)",
"type":"int"
},
"slab-page-size":{
"default":-1,
"description":"Override the size of each slab page in bytes. In mundane\nwords, it adjusts the maximum item size that memcached\nwill accept. You can use the suffixes K and M to specify\nthe size as well, so use 2000000 or 2000K or 2M if you want\na maximum size of 2 MB per object. It is not recommended\nto raise this limit above 1 MB due just to performance reasons.\nThe default value is 1 MB. (memcached option -I) -1 takes\nthe memcached default.\n",
"type":"int"
},
"tcp-port":{
"default":11211,
"description":"TCP port to listen on. (memcached option -p)",
"type":"int"
},
"threads":{
"default":-1,
"description":"number of threads to use. default is 4. (memcached option -t)",
"type":"int"
},
"udp-port":{
"default":0,
"description":"UDP port to listen on (memcached option -U)",
"type":"int"
}
},
"owner":"charmers",
"rating_denominator":0,
"rating_numerator":0,
"relations":{
"provides":{
"cache":{
"interface":"memcache"
},
"munin":{
"interface":"munin-node"
},
"nrpe-external-master":{
"interface":"nrpe-external-master",
"scope":"container"
}
},
"requires":{
}
},
"revision":28,
"summary":"A high-performance memory object caching system",
"tested_providers":{
},
"url":"cs:precise/memcached-12"
},
"wiki":{
"categories":[
"applications"
],
"code_source":{
"bugs_link":"https://bugs.launchpad.net/charms/+source/mediawiki",
"last_log":"Fixed formatting for Python tests",
"location":"lp:~charmers/charms/precise/mediawiki/trunk",
"revision":"76",
"revisions":[
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-02-20T00:58:29Z",
"message":"Fixed formatting for Python tests",
"revno":76
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2014-02-19T22:04:59Z",
"message":"Use sudo for installation scripts",
"revno":75
},
{
"authors":[
{
"email":"charles.butler@canonical.com",
"name":"Charles Butler"
}
],
"date":"2014-02-14T21:56:32Z",
"message":"Testing\n\nAdds integration tests for unit deploy, db relationship with mysql, and cache relationship with memcached\n\nR=\nCC=\nhttps://codereview.appspot.com/54600043\n",
"revno":74
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2013-12-13T19:39:03Z",
"message":"Readme fixes, set default configs.\n",
"revno":73
},
{
"authors":[
{
"email":"mark.mims@canonical.com",
"name":"Mark Mims"
}
],
"date":"2013-09-20T19:13:28Z",
"message":"merging lp:~dave-cheney/charms/precise/mediawiki/trunk as per https://code.launchpad.net/~dave-cheney/charms/precise/mediawiki/trunk/+merge/182803",
"revno":72
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-08-14T05:16:21Z",
"message":"Santize input from realtion-list",
"revno":71
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-04-25T18:19:21Z",
"message":"Added icon.svg",
"revno":70
},
{
"authors":[
{
"email":"jorge@ubuntu.com",
"name":"Jorge O. Castro"
}
],
"date":"2013-04-22T19:36:55Z",
"message":"Add a category\n",
"revno":69
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2013-01-24T18:26:58Z",
"message":"Cleanup of PHP files according to http://www.mediawiki.org/wiki/Coding_conventions\n",
"revno":68
},
{
"authors":[
{
"email":"marco@ceppi.net",
"name":"Marco Ceppi"
}
],
"date":"2012-12-20T03:12:05Z",
"message":"Typo in multi-unit command line",
"revno":67
}
],
"type":"bzr"
},
"date_created":"2012-04-16T18:29:51Z",
"description":"MediaWiki is a wiki engine (a program for creating a collaboratively\nedited website). It is designed to handle heavy websites containing\nlibrary-like document collections, and supports user uploads of\nimages/sounds, multilingual content, TOC autogeneration, ISBN links,\netc.\n",
"distro_series":"precise",
"downloads":2944,
"downloads_in_past_30_days":254,
"files":[
"hooks/slave-relation-departed",
"hooks/combine-dbservers",
"hooks/cache-relation-changed",
"hooks/website-relation-joined",
"revision",
"icon.svg",
"hooks/upgrade-charm",
"hooks/stop",
"README.md",
"hooks/db-relation-changed",
"hooks/db-relation-departed",
"hooks/install",
"metadata.yaml",
"hooks/config-changed",
"hooks/slave-relation-changed",
"config.yaml",
"hooks/slave-relation-broken"
],
"id":"precise/mediawiki-14",
"is_approved":true,
"is_subordinate":false,
"maintainer":{
"email":"clint@ubuntu.com",
"name":"Clint Byrum"
},
"name":"mediawiki",
"options":{
"admins":{
"default":"",
"description":"Admin users to create, user:pass",
"type":"string"
},
"debug":{
"default":false,
"description":"turn on debugging features of mediawiki",
"type":"boolean"
},
"logo":{
"default":"",
"description":"URL to fetch logo from",
"type":"string"
},
"name":{
"default":"Please set name of wiki",
"description":"The name, or Title of the Wiki",
"type":"string"
},
"skin":{
"default":"vector",
"description":"skin for the Wiki",
"type":"string"
}
},
"owner":"charmers",
"rating_denominator":0,
"rating_numerator":0,
"relations":{
"provides":{
"website":{
"interface":"http"
}
},
"requires":{
"cache":{
"interface":"memcache"
},
"db":{
"interface":"mysql"
},
"slave":{
"interface":"mysql"
}
}
},
"revision":90,
"summary":"Website engine for collaborative work",
"tested_providers":{
},
"url":"cs:precise/mediawiki-14"
}
},
"downloads_in_past_30_days":0,
"files":[
"README",
"icon.svg",
"bundles.yaml"
],
"first_change":{
"authors":[
"Brad Crittenden <bac@canonical.com>"
],
"committer":"Brad Crittenden <bac@canonical.com>",
"created":1375449744.902,
"message":"Initial checking of working config.",
"revno":1
},
"last_change":{
"authors":[
"Brad Crittenden <bac@canonical.com>"
],
"committer":"Brad Crittenden <bac@canonical.com>",
"created":1378218161.439,
"message":"Correct icon",
"revno":3
},
"initialized":true,
"destroyed":false,
"clientId":"browser-bundle_93",
"id":"~bac/wiki/3/wiki",
"name":"wiki",
"description":"",
"owner":"bac",
"permanent_url":"bundle:~bac/wiki/3/wiki",
"promulgated":false,
"title":"",
"basket_name":"wiki",
"basket_revision":3,
"data":{
"relations":[
[
"wiki:db",
"db"
],
[
"wiki",
[
"haproxy",
"memcached"
]
]
],
"series":"precise",
"services":{
"db":{
"branch":"lp:charms/precise/mysql",
"charm":"mysql",
"options":{
"tuning-level":"fast"
}
},
"haproxy":{
"branch":"lp:charms/precise/haproxy"
},
"memcached":{
"branch":"lp:charms/precise/memcached",
"options":{
"request-limit":32
}
},
"wiki":{
"branch":"lp:charms/precise/mediawiki",
"charm":"mediawiki",
"constraints":"mem=2",
"num_units":2
}
}
},
"deployer_file_url":"https://manage.jujucharms.com/bundle/%7Ebac/wiki/3/wiki/json",
"downloads":0,
"recent_download_count":0,
"relations":[
{
"wiki:db":"db"
},
{
"wiki":[
"haproxy",
"memcached"
]
}
],
"series":"precise",
"services":{
"db":{
"branch":"lp:charms/precise/mysql",
"charm":"mysql",
"options":{
"tuning-level":"fast"
}
},
"haproxy":{
"branch":"lp:charms/precise/haproxy"
},
"memcached":{
"branch":"lp:charms/precise/memcached",
"options":{
"request-limit":32
}
},
"wiki":{
"branch":"lp:charms/precise/mediawiki",
"charm":"mediawiki",
"constraints":"mem=2",
"num_units":2
}
},
"serviceCount":4,
"unitCount":5,
"recentCommits":[
{
"author":{
"name":"Brad Crittenden",
"email":"bac@canonical.com"
},
"date":"2013-09-03T14:22:41.439Z",
"message":"Correct icon",
"revno":3
},
{
"author":{
"name":"Brad Crittenden",
"email":"bac@canonical.com"
},
"date":"2013-08-28T19:35:35.465Z",
"message":"Added README and icon",
"revno":2
},
{
"author":{
"name":"Brad Crittenden",
"email":"bac@canonical.com"
},
"date":"2013-08-02T13:22:24.902Z",
"message":"Initial checking of working config.",
"revno":1
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment