使用razorsedge網絡(V3.6.0)木偶網絡模塊將使能在每次運行
在每一個木偶來看,我得到如下:
Notice: /Stage[main]/Network/Service[network]/enable: enable changed 'false' to 'true'
客戶端運行的CentOS 7.1,試圖與代理4.2.1和4.2.3。 戲夢人生是PE 2015年
這似乎靠的SysV腳本,但已一切設置正確:
[[email protected] ~]# service network status
Configured devices:
lo ens160
Currently active devices:
lo ens160
[[email protected] ~]# echo $?
0
清單被稱爲:
class profiles::networking {
$allinterfaces = split($::interfaces, ',')
$pri_if = $allinterfaces[0]
::network::if::static {$pri_if:
ensure => hiera('network::if::static:ensure'),
ipaddress => hiera('network::if::static:ipaddress'),
netmask => hiera('network::if::static:netmask'),
gateway => hiera('network::if::static:gateway'),
peerdns => true,
dns1 => hiera('network::if::static:dns1'),
dns2 => hiera('network::if::static:dns2'),
domain => hiera('network::if::static:domain'),
}
}
Hiera又返回單值
不知道這是足夠的信息來排除故障..什麼網絡模塊,什麼版本的網絡模塊,以及你通過清單或hiera設置的網絡模塊的參數? – ptierno
當然,模塊的細節是在第一線,razorsedge網絡(v3.6.0) 我使用hiera的配置 – Werner
謝謝你.. params? – ptierno