Skip to content

Instantly share code, notes, and snippets.

@dginther
Created August 2, 2013 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dginther/6140809 to your computer and use it in GitHub Desktop.
Save dginther/6140809 to your computer and use it in GitHub Desktop.
/root/check_mk-1.2.2p2.tar.gz:
file.managed:
- source: salt://check_mk/check_mk-1.2.2p2.tar.gz
- user: root
- group: root
- mode: 644
check_mk-install:
cmd.script:
- source: salt://check_mk/check_mk_non_interactive.sh
- user: root
- group: root
- cwd: /root
- unless: test -e /usr/bin/check_mk
- require:
- file: /root/.check_mk_setup.conf
#!/bin/bash
cd /root
tar -zxf check_mk-1.2.2p2.tar.gz
cd check_mk-1.2.2p2
./setup.sh --yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment