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

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
主站蜘蛛池模板: 康乐县| 五峰| 筠连县| 青州市| 社会| 南召县| 布尔津县| 盖州市| 诏安县| 舞阳县| 自贡市| 罗定市| 纳雍县| 克拉玛依市| 应城市| 绿春县| 康马县| 丹江口市| 上思县| 静乐县| 安新县| 苗栗市| 阳朔县| 米脂县| 搜索| 宣武区| 册亨县| 清新县| 县级市| 即墨市| 昌平区| 双峰县| 长春市| 门头沟区| 西充县| 正镶白旗| 黎城县| 醴陵市| 杨浦区| 遂溪县| 榆中县|