Skip to content

Commit

Permalink
swapped order of optional vs. non-optional class parameters to addres…
Browse files Browse the repository at this point in the history
…s failing builds
  • Loading branch information
Seth Cleveland committed Sep 12, 2016
1 parent 2e25e34 commit af70852
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions manifests/integrations/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# This class will install the necessary configuration for the mysql integration
#
# Parameters:
# $host:
# The host mysql is running on
# $password
# The mysql password for the datadog user
# $host:
# The host mysql is running on
# $user
# The mysql user for the datadog user
# $sock
Expand Down Expand Up @@ -37,8 +37,8 @@
#
#
class datadog_agent::integrations::mysql(
$host = 'localhost',
$password,
$host = 'localhost',
$user = 'datadog',
$sock = undef,
$tags = [],
Expand Down
6 changes: 3 additions & 3 deletions manifests/integrations/pgbouncer.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# This class will install the necessary configuration for the pgbouncer integration
#
# Parameters:
# $password
# The password for the datadog user
# $host:
# The host pgbouncer is listening on
# $port
# The pgbouncer port number
# $username
# The username for the datadog user
# $password
# The password for the datadog user
# $tags
# Optional array of tags
#
Expand All @@ -25,10 +25,10 @@
#
#
class datadog_agent::integrations::pgbouncer(
$password,
$host = 'localhost',
$port = '6432',
$username = 'datadog',
$password,
$tags = [],
) inherits datadog_agent::params {

Expand Down
6 changes: 3 additions & 3 deletions manifests/integrations/postgres.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# This class will install the necessary configuration for the postgres integration
#
# Parameters:
# $password
# The password for the datadog user
# $host:
# The host postgres is running on
# $dbname
Expand All @@ -11,8 +13,6 @@
# The postgres port number
# $username
# The username for the datadog user
# $password
# The password for the datadog user
# $tags
# Optional array of tags
# $tables
Expand All @@ -31,11 +31,11 @@
#
#
class datadog_agent::integrations::postgres(
$password,
$host = 'localhost',
$dbname = 'postgres',
$port = '5432',
$username = 'datadog',
$password,
$tags = [],
$tables = []
) inherits datadog_agent::params {
Expand Down

0 comments on commit af70852

Please sign in to comment.