Skip to content

Commit

Permalink
Merge pull request #228 from jmoseley/style_fix
Browse files Browse the repository at this point in the history
Fix style for puppet-lint failures.
  • Loading branch information
cmurphy committed Dec 4, 2014
2 parents 40af5f0 + 1f87d17 commit f8b9936
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
3 changes: 3 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Class: rabbitmq::config
# Sets all the configuration values for RabbitMQ and creates the directories for
# config and ssl.
class rabbitmq::config {

$admin_enable = $rabbitmq::admin_enable
Expand Down
14 changes: 7 additions & 7 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
# Main rabbitmq class
class rabbitmq(
$admin_enable = $rabbitmq::params::admin_enable,
$cluster_disk_nodes = $rabbitmq::params::cluster_disk_nodes,
Expand Down Expand Up @@ -142,9 +142,9 @@
include '::rabbitmq::install::rabbitmqadmin'

rabbitmq_plugin { 'rabbitmq_management':
ensure => present,
require => Class['rabbitmq::install'],
notify => Class['rabbitmq::service'],
ensure => present,
require => Class['rabbitmq::install'],
notify => Class['rabbitmq::service'],
provider => 'rabbitmqplugins'
}

Expand All @@ -153,9 +153,9 @@

if $stomp_ensure {
rabbitmq_plugin { 'rabbitmq_stomp':
ensure => present,
require => Class['rabbitmq::install'],
notify => Class['rabbitmq::service'],
ensure => present,
require => Class['rabbitmq::install'],
notify => Class['rabbitmq::service'],
provider => 'rabbitmqplugins'
}
}
Expand Down
2 changes: 2 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Class rabbitmq::install
# Ensures the rabbitmq-server exists
class rabbitmq::install {

$package_ensure = $rabbitmq::package_ensure
Expand Down
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@
$ssl_management_port = '15671'
$ssl_stomp_port = '6164'
$ssl_verify = 'verify_none'
$ssl_fail_if_no_peer_cert = 'false'
$ssl_fail_if_no_peer_cert = false
$stomp_ensure = false
$ldap_auth = false
$ldap_server = 'ldap'
$ldap_user_dn_pattern = 'cn=${username},ou=People,dc=example,dc=com'
$ldap_user_dn_pattern = "cn=${username},ou=People,dc=example,dc=com"
$ldap_use_ssl = false
$ldap_port = '389'
$ldap_log = false
Expand Down
2 changes: 2 additions & 0 deletions manifests/repo/rhel.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Class: rabbitmq::repo::rhel
# Imports the gpg key if it doesn't already exist.
class rabbitmq::repo::rhel {

$package_gpg_key = $rabbitmq::package_gpg_key
Expand Down

0 comments on commit f8b9936

Please sign in to comment.