use internal_netif_ip instead of api_eth
Close bug #172 Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
		@@ -25,7 +25,7 @@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
class cloud::cache (
 | 
			
		||||
  $listen_ip = $os_params::api_eth,
 | 
			
		||||
  $listen_ip = $os_params::internal_netif_ip,
 | 
			
		||||
){
 | 
			
		||||
 | 
			
		||||
  class { 'memcached':
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
class cloud::object::ringbuilder(
 | 
			
		||||
    $rsyncd_ipaddress            = $os_params::api_eth,
 | 
			
		||||
    $rsyncd_ipaddress            = $os_params::internal_netif_ip,
 | 
			
		||||
    $replicas                    = $os_params::replicas,
 | 
			
		||||
    $swift_rsync_max_connections = $os_params::swift_rsync_max_connections,
 | 
			
		||||
) {
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@
 | 
			
		||||
 | 
			
		||||
class cloud::storage::rbd::monitor (
 | 
			
		||||
  $id             = $::uniqueid,
 | 
			
		||||
  $mon_addr       = $os_params::api_eth,
 | 
			
		||||
  $mon_addr       = $os_params::internal_netif_ip,
 | 
			
		||||
  $monitor_secret = $os_params::ceph_mon_secret
 | 
			
		||||
) {
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user