tis-munin-node
Version : 1.6.0-2
- package : tis-munin-node
- editor :
- version : 1.6.0-2
- licence :
- architecture : all
- locale :
- description : client for munin
- description_fr :
- min_os_version :
- max_os_version :
- min_wapt_version :
- installed_size :
- impacted_process :
- signature_date : 20170720-155536
- maintainer : Clement Raimond
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------- # This file is part of WAPT # Copyright (C) 2013 Tranquil IT Systems http://www.tranquil.it # WAPT aims to help Windows systems administrators to deploy # setup and update applications on users PC. # # WAPT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # WAPT is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with WAPT. If not, see <http://www.gnu.org/licenses/>. # # ----------------------------------------------------------------------- import platform from setuphelpers import * uninstallkey=[] uninstallstring=['"%s" /S' % makepath(programfiles32,'Munin Node for Windows','uninstall.exe')] required_params=[] def install(): if service_installed('munin node for windows'): print("Munin Node is running, stopping the service...") service_stop('munin node for windows') print("Install Munin Node service") run('munin-node-win32-1.6.0.0-installer.exe /S') print("Add configuration file") filecopyto('munin-node.ini',"%s" % makepath(programfiles32,'Munin Node For Windows','munin-node.ini')) print("Starting Munin Node service...") service_start('munin node for windows') print("Done")
Changelog
"""{% trans %}No changelog.{% endtrans %}"""
manifest.sha256
[["WAPT/certificate.crt", "20f25d6b242159077345379865f8e0d84bdc9e4764190f1aa6cb3816bcabd341"], ["munin-node.ini", "c8c730b705bfd84f5be2769e8e125050fb739a3fb633d9cb1bb8e5e55bef913b"], ["WAPT/wapt.psproj", "d370c650c8857b5f1b843c043ffa4cac31cc843e06e864fe59d924de979105d8"], ["munin-node-win32-1.6.0.0-installer.exe", "07cb066d1aac4fe0a780b2a4406ab6ddec4fae6bce380f07427b0a2e7b89be43"], ["setup.py", "d98a60b3773ea7422bd3f73d15ab98f474f296fe05fb06fc2223246620a9f5a7"], ["WAPT/control", "96f9673e8cfe488dfd4e2dbac35b600affbdac98eb446daaf8db21daeca9231a"]]