A Chef cookbook that will automatically send Windows PC information to your Snipe inventory server.
- Windows
- Chef 12.0 or later
{
"snipe": {
"server": {
"host_name": "snipe.example.com",
"port": 80,
"use_https": false
},
"user": {
"api_token": "Your-API-Token-Here"
},
"fields": {
"os": {
"name": "_snipeit_operating_system_77",
"version": "_snipeit_os_version_78"
}
}
}
}
Just include snipe_audit
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[snipe_audit]"
]
}