Skip to content
Snippets Groups Projects
Select Git revision
  • 50e1c1733a931dd3d9d21db8a4f584c9984100d1
  • master default
2 results

puppet-php

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    gedvcode authored
    When the pear package name is defined based on `$facter['os']['family']`. The problem is that Amazon Linux has 'RedHat' as os family.
    I set an `if` before case searching for 'Amazon' in `$facter['os']['name']` based on the output of the facter command on Amazon instances:
    ```shell
    $ facter os
    {
      architecture => "x86_64",
      family => "RedHat",
      hardware => "x86_64",
      name => "Amazon",
      release => {
        full => "2017.09",
        major => "2017",
        minor => "09"
      },
      selinux => {
        enabled => false
      }
    }
    ```
    50e1c173
    History
    Name Last commit Last update