Skip to content

Commit f8b9936

Browse files
committed
Merge pull request #228 from jmoseley/style_fix
Fix style for puppet-lint failures.
2 parents 40af5f0 + 1f87d17 commit f8b9936

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

manifests/config.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Class: rabbitmq::config
2+
# Sets all the configuration values for RabbitMQ and creates the directories for
3+
# config and ssl.
14
class rabbitmq::config {
25

36
$admin_enable = $rabbitmq::admin_enable

manifests/init.pp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
# Main rabbitmq class
22
class rabbitmq(
33
$admin_enable = $rabbitmq::params::admin_enable,
44
$cluster_disk_nodes = $rabbitmq::params::cluster_disk_nodes,
@@ -142,9 +142,9 @@
142142
include '::rabbitmq::install::rabbitmqadmin'
143143

144144
rabbitmq_plugin { 'rabbitmq_management':
145-
ensure => present,
146-
require => Class['rabbitmq::install'],
147-
notify => Class['rabbitmq::service'],
145+
ensure => present,
146+
require => Class['rabbitmq::install'],
147+
notify => Class['rabbitmq::service'],
148148
provider => 'rabbitmqplugins'
149149
}
150150

@@ -153,9 +153,9 @@
153153

154154
if $stomp_ensure {
155155
rabbitmq_plugin { 'rabbitmq_stomp':
156-
ensure => present,
157-
require => Class['rabbitmq::install'],
158-
notify => Class['rabbitmq::service'],
156+
ensure => present,
157+
require => Class['rabbitmq::install'],
158+
notify => Class['rabbitmq::service'],
159159
provider => 'rabbitmqplugins'
160160
}
161161
}

manifests/install.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Class rabbitmq::install
2+
# Ensures the rabbitmq-server exists
13
class rabbitmq::install {
24

35
$package_ensure = $rabbitmq::package_ensure

manifests/params.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@
8282
$ssl_management_port = '15671'
8383
$ssl_stomp_port = '6164'
8484
$ssl_verify = 'verify_none'
85-
$ssl_fail_if_no_peer_cert = 'false'
85+
$ssl_fail_if_no_peer_cert = false
8686
$stomp_ensure = false
8787
$ldap_auth = false
8888
$ldap_server = 'ldap'
89-
$ldap_user_dn_pattern = 'cn=${username},ou=People,dc=example,dc=com'
89+
$ldap_user_dn_pattern = "cn=${username},ou=People,dc=example,dc=com"
9090
$ldap_use_ssl = false
9191
$ldap_port = '389'
9292
$ldap_log = false

manifests/repo/rhel.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Class: rabbitmq::repo::rhel
2+
# Imports the gpg key if it doesn't already exist.
13
class rabbitmq::repo::rhel {
24

35
$package_gpg_key = $rabbitmq::package_gpg_key

0 commit comments

Comments
 (0)