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

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
主站蜘蛛池模板: 且末县| 白水县| 利辛县| 银川市| 安新县| 勃利县| 麻城市| 定南县| 东至县| 阿坝| 贡觉县| 泸州市| 南昌县| 拜城县| 团风县| 农安县| 六盘水市| 宁海县| 乐都县| 伊川县| 巩留县| 昭苏县| 霸州市| 昌邑市| 金沙县| 班戈县| 东光县| 宜都市| 织金县| 萨迦县| 大理市| 新闻| 太和县| 农安县| 拜泉县| 巴彦县| 江口县| 年辖:市辖区| 沂源县| 岳西县| 东丽区|