Advertisement
Guest User

Untitled

a guest
Jan 19th, 2015
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. glpi:
  2. pkg.installed:
  3. - pkg: glpi
  4. require:
  5. - pkg.installed:
  6. - pkgs: [mysql-server, apache2, php5]
  7. file.managed:
  8. - name: /tmp
  9. - source: salt://tars/glpi-massocsimport-1.6.1.tar.gz
  10. - user: root
  11. - group: root
  12. cmd.run:
  13. - name: 'cd /tmp; tar xfv glpi-massocsimport-1.6.1.tar.gz; cp -R massocsimport /usr/share/glpi/plugins;chown www-data:www-data /usr/share/glpi/plugins/*; chmod -R +x /usr/share/glpi/plugins/massocsimport;/usr/share/glpi/plugins/massocsimport/scripts/ocsng_fullsync.sh; rm -f /tmp/glpi-massocsimport-1.6.1.tar.gz'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement