2 # This particular environment was created specifically for MultiCloud
4 # vim: ts=4 sw=4 sts=4 et tw=72 :
6 # force any errors to cause the script and job to end in failure
11 yum install -y memcached
12 systemctl enable memcached
17 apt-get install memcached
21 echo 'No common distribution configuration to perform'
24 echo "---> Detecting OS"
25 ORIGIN=$(facter operatingsystem | tr '[:upper:]' '[:lower:]')
29 echo "---> RH type system detected"
33 echo "---> Ubuntu system detected"
37 echo "---> Unknown operating system"
41 # execute steps for all systems