Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed lint on README.md snippets #520

Merged
merged 1 commit into from
Apr 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -545,14 +545,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 @@ -567,7 +567,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 @@ -637,7 +637,7 @@ rabbitmq_plugin {'rabbitmq_stomp':
rabbitmq_parameter { 'documentumFed@/':
component_name => 'federation-upstream',
value => {
'uri' => 'amqp://myserver',
'uri' => 'amqp://myserver',
'expires' => '360000',
},
}
Expand Down