Skip to content

Commit

Permalink
Fix style for puppet-lint failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerezzprime committed Aug 13, 2014
1 parent e4c4d08 commit 1f87d17
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 {

$cluster_disk_nodes = $rabbitmq::cluster_disk_nodes
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 @@ -130,9 +130,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 @@ -141,9 +141,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 @@ -80,11 +80,11 @@
$ssl_management_port = '5671'
$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 1f87d17

Please sign in to comment.