tis-munin-node 1.6.0-3

  • package : tis-munin-node
  • version : 1.6.0-3
  • architecture : all
  • locale :
  • description : client for munin
  • maintainer : Clement Raimond
  • date : 2018-02-27 19:04:12
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

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'):
        print("Munin Node is running, stopping the service...")
        service_stop('munin-node')
    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')


    

Changelog

No changelog
    

manifest.sha256

WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
munin-node.ini c8c730b705bfd84f5be2769e8e125050fb739a3fb633d9cb1bb8e5e55bef913b
WAPT/wapt.psproj d370c650c8857b5f1b843c043ffa4cac31cc843e06e864fe59d924de979105d8
munin-node-win32-1.6.0.0-installer.exe 07cb066d1aac4fe0a780b2a4406ab6ddec4fae6bce380f07427b0a2e7b89be43
setup.py 1c1dddc65708f4f5deb5582c223ab04e123d18bf35c94ea55a46868e3783baae
WAPT/control 4ae6782be3dc349f121a6c8809e0a0c98bcdb962922fca1df0688a7e05480944