Advertisement
Guest User

salt requisite issue

a guest
Jul 24th, 2013
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.65 KB | None | 0 0
  1.  
  2. # Base Packages needed
  3. mypkgs:
  4.   pkg.installed:
  5.     - pkgs:
  6.      - git
  7.       - nodejs
  8.       - npm
  9.       - curl
  10.       - zlib-devel
  11.       - MySQL-python
  12.       - mysql
  13.       - mlocate
  14.     - require:
  15.       - pkg: installphp54
  16.  
  17. #install php54
  18. installphp54:
  19.   cmd.script:
  20.     - source: salt://php/addPHP54RPM.sh
  21.     - stateful: True
  22.  
  23.  
  24. -----------------------------------------------
  25.  
  26. salt://php/addPHP54RPM.sh
  27. #! /bin/bash
  28.  
  29. sudo rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm;
  30. echo  # an empty line here so the next line will be the last.
  31. echo "changed=yes comment='I hope rpm for php54 was installed properly' whatever=123";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement