Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415
  1. control 'Php package' do
  2. title 'should be installed'
  3. pkg_name =
  4. case os[:family]
  5. when 'debian', 'redhat', 'fedora'
  6. 'php'
  7. when 'suse'
  8. 'php5'
  9. end
  10. describe package(pkg_name) do
  11. it { should be_installed }
  12. end
  13. end