Skip to content

Commit 1790dbc

Browse files
committed
fix grant tests for fqdn
1 parent 431a8df commit 1790dbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/acceptance/types/mysql_grant_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,12 @@ class { 'mysql::server':
369369
user => "web@${dbSubnet}",
370370
require => Mysql_user["web@${dbSubnet}"],
371371
}
372-
mysql_user { "web@${fqdn}":
372+
mysql_user { "web@${::networking['ip']}":
373373
ensure => present,
374374
}
375-
mysql_grant { "web@${fqdn}/*.*":
376-
user => "web@${fqdn}",
377-
require => Mysql_user["web@${fqdn}"],
375+
mysql_grant { "web@${::networking['ip']}/*.*":
376+
user => "web@${::networking['ip']}",
377+
require => Mysql_user["web@${::networking['ip']}"],
378378
}
379379
mysql_user { 'web@localhost':
380380
ensure => present,

0 commit comments

Comments
 (0)