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

Operating systems support

Express the operating systems your module supports in the module's metadata.json, as shown in the following example:

"operatingsystem_support": [
{ "operatingsystem": "RedHat", },
{ "operatingsystem": "Ubuntu", },
]

The Facter facts operatingsystem and operatingsystemrelease are expected. Here's a more complete example:

"operatingsystem_support": [
{
"operatingsystem":"RedHat",
"operatingsystemrelease":[ "5.0", "6.0" ]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"12.04",
"10.04"
]
}
]

Check the metadata.json file for validity afterwards using the new pdk command:

$ pdk validate metadata
主站蜘蛛池模板: 临清市| 苍南县| 鄄城县| 民县| 易门县| 新平| 勃利县| 合肥市| 会昌县| 峨眉山市| 沈丘县| 剑阁县| 兴山县| 修水县| 保靖县| 寻乌县| 平阳县| 疏勒县| 江西省| 玛纳斯县| 巴马| 休宁县| 镇巴县| 会泽县| 东辽县| 宁津县| 乌鲁木齐市| 东乡县| 工布江达县| 定南县| 德惠市| 视频| 苗栗市| 荣昌县| 林州市| 明水县| 子长县| 北流市| 潼南县| 英山县| 鸡泽县|