官术网_书友最值得收藏!

Using arrays to assign a list of values to an attribute

When the expected value of an attribute is an array, the array_matching option should be included in the call to newproperty with a value of all. All values of the array are then used for that attribute, as shown in the following code:

Puppet::Type.newtype(:mynewtype) do
...
newproperty(:myarray, :array_matching => :all) do
end
...
end
主站蜘蛛池模板: 雷山县| 秀山| 乌什县| 沙雅县| 鄂尔多斯市| 扎囊县| 丹江口市| 定结县| 肇州县| 昆明市| 祁阳县| 宾阳县| 武清区| 长岭县| 南宁市| 万宁市| 汶上县| 宣汉县| 定远县| 合江县| 桂林市| 博爱县| 河津市| 徐闻县| 淮安市| 寻甸| 象州县| 灵璧县| 宜兰市| 会理县| 文水县| 宝丰县| 竹山县| 呼和浩特市| 定兴县| 石柱| 永年县| 津南区| 仪征市| 平湖市| 永城市|