Skip to content

Commit

Permalink
Merge pull request voxpupuli#580 from wyardley/fix_more_warnings
Browse files Browse the repository at this point in the history
update various small warnings
  • Loading branch information
alexjfisher authored Sep 2, 2017
2 parents 136e7e7 + e9fae52 commit 317e507
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/facter/erl_ssl_path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
end
end
# erl returns the string with quotes, strip them off
data.gsub!(/\A"|"\Z/, '')
data.gsub!(%r{\A"|"\Z}, '')
end
end
2 changes: 1 addition & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
} else {
$default_ssl_env_variables = {
'NODE_PORT' => $port,
'NODE_IP_ADDRESS' => $node_ip_address
'NODE_IP_ADDRESS' => $node_ip_address,
}
}

Expand Down
6 changes: 4 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# @example Declaring the class
# class { 'rabbitmq': }
#
# @param management_ip_address Allows you to set the IP for management interface to bind to separately. Set to 127.0.0.1 to bind to localhost only, or 0.0.0.0 to bind to all interfaces.
# @param node_ip_address Allows you to set the IP for RabbitMQ service to bind to. Set to 127.0.0.1 to bind to localhost only, or 0.0.0.0 to bind to all interfaces.
# @param management_ip_address Allows you to set the IP for management interface to bind to separately. Set to 127.0.0.1 to bind to
# localhost only, or 0.0.0.0 to bind to all interfaces.
# @param node_ip_address Allows you to set the IP for RabbitMQ service to bind to. Set to 127.0.0.1 to bind to localhost only, or 0.0.0.0
# to bind to all interfaces.
class rabbitmq(
Boolean $admin_enable = $rabbitmq::params::admin_enable,
Enum['ram', 'disk', 'disc'] $cluster_node_type = $rabbitmq::params::cluster_node_type,
Expand Down
2 changes: 1 addition & 1 deletion manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
key => {
'id' => $key,
'source' => $key_source,
'content' => $key_content
'content' => $key_content,
},
architecture => $architecture,
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/repo/rhel.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
baseurl => $location,
gpgkey => $key_source,
enabled => 1,
gpgcheck => 1
gpgcheck => 1,
}

# This may still be needed to prevent warnings
Expand Down

0 comments on commit 317e507

Please sign in to comment.