Skip to content

Commit 5cd38a4

Browse files
author
Seth Cleveland
committed
swapped order of optional vs. non-optional class parameters to address failing builds
1 parent 411488d commit 5cd38a4

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

manifests/integrations/mysql.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# This class will install the necessary configuration for the mysql integration
44
#
55
# Parameters:
6-
# $host:
7-
# The host mysql is running on
86
# $password
97
# The mysql password for the datadog user
8+
# $host:
9+
# The host mysql is running on
1010
# $user
1111
# The mysql user for the datadog user
1212
# $sock
@@ -37,8 +37,8 @@
3737
#
3838
#
3939
class datadog_agent::integrations::mysql(
40-
$host = 'localhost',
4140
$password,
41+
$host = 'localhost',
4242
$user = 'datadog',
4343
$sock = undef,
4444
$tags = [],

manifests/integrations/pgbouncer.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# This class will install the necessary configuration for the pgbouncer integration
44
#
55
# Parameters:
6+
# $password
7+
# The password for the datadog user
68
# $host:
79
# The host pgbouncer is listening on
810
# $port
911
# The pgbouncer port number
1012
# $username
1113
# The username for the datadog user
12-
# $password
13-
# The password for the datadog user
1414
# $tags
1515
# Optional array of tags
1616
#
@@ -25,10 +25,10 @@
2525
#
2626
#
2727
class datadog_agent::integrations::pgbouncer(
28+
$password,
2829
$host = 'localhost',
2930
$port = '6432',
3031
$username = 'datadog',
31-
$password,
3232
$tags = [],
3333
) inherits datadog_agent::params {
3434

manifests/integrations/postgres.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# This class will install the necessary configuration for the postgres integration
44
#
55
# Parameters:
6+
# $password
7+
# The password for the datadog user
68
# $host:
79
# The host postgres is running on
810
# $dbname
@@ -11,8 +13,6 @@
1113
# The postgres port number
1214
# $username
1315
# The username for the datadog user
14-
# $password
15-
# The password for the datadog user
1616
# $tags
1717
# Optional array of tags
1818
# $tables
@@ -49,11 +49,11 @@
4949
#
5050
#
5151
class datadog_agent::integrations::postgres(
52+
$password,
5253
$host = 'localhost',
5354
$dbname = 'postgres',
5455
$port = '5432',
5556
$username = 'datadog',
56-
$password,
5757
$tags = [],
5858
$tables = [],
5959
$custom_metrics = {},

0 commit comments

Comments
 (0)