Modification du fichier exemple de paramètres généré par le script et ajout de celui-ci
This commit is contained in:
@ -14,16 +14,16 @@ parser.add_argument("-force", action=argparse.BooleanOptionalAction)
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
settingsDefault = {
|
settingsDefault = {
|
||||||
"airwatchServer":"https://apimagenta.phm.education.gouv.fr",
|
"airwatchServer":"https://airwatchServer/",
|
||||||
"airwatchAPIKey":"",
|
"airwatchAPIKey":"APIKEY",
|
||||||
"airwatchAuthMethod":"CMSURL",
|
"airwatchAuthMethod":"CMSURL",
|
||||||
"airwatchCertPath":"",
|
"airwatchCertPath":"/path/to/cert",
|
||||||
"airwatchCertPass":"",
|
"airwatchCertPass":"certPassword",
|
||||||
"airwatchAPIUser":"",
|
"airwatchAPIUser":"UserAPI",
|
||||||
"airwatchAPIPassword":"",
|
"airwatchAPIPassword":"PasswordUserAPI",
|
||||||
"glpiServer":"http://127.0.0.1/glpi/",
|
"glpiServer":"http://127.0.0.1/glpi/",
|
||||||
"glpiAppToken":"",
|
"glpiAppToken":"GLPIAppToken",
|
||||||
"glpiUserToken":"",
|
"glpiUserToken":"GLPIUserToken",
|
||||||
"stagingUser":"staging-pr"
|
"stagingUser":"staging-pr"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
13
scripts/settings.json
Normal file
13
scripts/settings.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"airwatchServer": "https://airwatchServer/",
|
||||||
|
"airwatchAPIKey": "APIKEY",
|
||||||
|
"airwatchAuthMethod": "CMSURL",
|
||||||
|
"airwatchCertPath": "/path/to/cert",
|
||||||
|
"airwatchCertPass": "certPassword",
|
||||||
|
"airwatchAPIUser": "UserAPI",
|
||||||
|
"airwatchAPIPassword": "PasswordUserAPI",
|
||||||
|
"glpiServer": "http://127.0.0.1/glpi/",
|
||||||
|
"glpiAppToken": "GLPIAppToken",
|
||||||
|
"glpiUserToken": "GLPIUserToken",
|
||||||
|
"stagingUser": "staging-pr"
|
||||||
|
}
|
||||||
@ -18,16 +18,16 @@ parser.add_argument("-force", action=argparse.BooleanOptionalAction)
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
settingsDefault = {
|
settingsDefault = {
|
||||||
"airwatchServer":"https://apimagenta.phm.education.gouv.fr",
|
"airwatchServer":"https://airwatchServer/",
|
||||||
"airwatchAPIKey":"",
|
"airwatchAPIKey":"APIKEY",
|
||||||
"airwatchAuthMethod":"CMSURL",
|
"airwatchAuthMethod":"CMSURL",
|
||||||
"airwatchCertPath":"",
|
"airwatchCertPath":"/path/to/cert",
|
||||||
"airwatchCertPass":"",
|
"airwatchCertPass":"certPassword",
|
||||||
"airwatchAPIUser":"",
|
"airwatchAPIUser":"UserAPI",
|
||||||
"airwatchAPIPassword":"",
|
"airwatchAPIPassword":"PasswordUserAPI",
|
||||||
"glpiServer":"http://127.0.0.1/glpi/",
|
"glpiServer":"http://127.0.0.1/glpi/",
|
||||||
"glpiAppToken":"",
|
"glpiAppToken":"GLPIAppToken",
|
||||||
"glpiUserToken":"",
|
"glpiUserToken":"GLPIUserToken",
|
||||||
"stagingUser":"staging-pr"
|
"stagingUser":"staging-pr"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user