Skip to content

Commit

Permalink
Merge pull request #520 from mvisonneau/readme
Browse files Browse the repository at this point in the history
Fixed lint on README.md snippets
  • Loading branch information
hunner authored Apr 13, 2017
2 parents 8391d45 + f4ec688 commit 21c8aa8
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ Or such as offline installation from intranet or local mirrors:

```puppet
class { '::rabbitmq':
key_content => template('openstack/rabbit.pub.key'),
package_gpg_key => '/tmp/rabbit.pub.key',
key_content => template('openstack/rabbit.pub.key'),
package_gpg_key => '/tmp/rabbit.pub.key',
}
```

And this one will use external package key source for any (apt/rpm) package provider:

```puppet
class { '::rabbitmq':
package_gpg_key => 'http://www.some_site.some_domain/some_key.pub.key',
package_gpg_key => 'http://www.some_site.some_domain/some_key.pub.key',
}
```

Expand All @@ -82,10 +82,10 @@ To use RabbitMQ Environment Variables, use the parameters `environment_variables

```puppet
class { 'rabbitmq':
port => '5672',
environment_variables => {
'NODENAME' => 'node01',
'SERVICENAME' => 'RabbitMQ'
port => '5672',
environment_variables => {
'NODENAME' => 'node01',
'SERVICENAME' => 'RabbitMQ'
}
}
```
Expand All @@ -95,11 +95,11 @@ To change RabbitMQ Config Variables in rabbitmq.config, use the parameters `conf

```puppet
class { 'rabbitmq':
port => '5672',
config_variables => {
'hipe_compile' => true,
'frame_max' => 131072,
'log_levels' => "[{connection, info}]"
port => '5672',
config_variables => {
'hipe_compile' => true,
'frame_max' => 131072,
'log_levels' => "[{connection, info}]"
}
}
```
Expand All @@ -109,8 +109,8 @@ To change Erlang Kernel Config Variables in rabbitmq.config, use the parameters

```puppet
class { 'rabbitmq':
port => '5672',
config_kernel_variables => {
port => '5672',
config_kernel_variables => {
'inet_dist_listen_min' => 9100,
'inet_dist_listen_max' => 9105,
}
Expand All @@ -122,7 +122,7 @@ To change Management Plugin Config Variables in rabbitmq.config, use the paramet

```puppet
class { 'rabbitmq':
config_management_variables => {
config_management_variables => {
'rates_mode' => 'basic',
}
}
Expand All @@ -136,7 +136,7 @@ To change Additional Config Variables in rabbitmq.config, use the parameter
class { 'rabbitmq':
config_additional_variables => {
'autocluster' => '[{consul_service, "rabbit"},{cluster_name, "rabbit"}]',
'foo' => '[{bar, "baz"}]'
'foo' => '[{bar, "baz"}]'
}
}
```
Expand Down Expand Up @@ -553,14 +553,14 @@ rabbitmq_vhost { 'myvhost':

```puppet
rabbitmq_exchange { 'myexchange@myvhost':
user => 'dan',
password => 'bar',
type => 'topic',
ensure => present,
internal => false,
user => 'dan',
password => 'bar',
type => 'topic',
ensure => present,
internal => false,
auto_delete => false,
durable => true,
arguments => {
durable => true,
arguments => {
hash-header => 'message-distribution-hash'
}
}
Expand All @@ -575,7 +575,7 @@ rabbitmq_queue { 'myqueue@myvhost':
durable => true,
auto_delete => false,
arguments => {
x-message-ttl => 123,
x-message-ttl => 123,
x-dead-letter-exchange => 'other'
},
ensure => present,
Expand Down Expand Up @@ -645,7 +645,7 @@ rabbitmq_plugin {'rabbitmq_stomp':
rabbitmq_parameter { 'documentumFed@/':
component_name => 'federation-upstream',
value => {
'uri' => 'amqp://myserver',
'uri' => 'amqp://myserver',
'expires' => '360000',
},
}
Expand Down

0 comments on commit 21c8aa8

Please sign in to comment.