diff --git a/manifests/params.pp b/manifests/params.pp index c1f4b8cb6..92c734ff8 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -21,7 +21,20 @@ $user = 'memcached' } default: { - fail("Unsupported platform: ${::osfamily}") + case $::operatingsystem { + 'Amazon': { + $package_name = 'memcached' + $service_name = 'memcached' + $service_hasstatus = true + $dev_package_name = 'libmemcached-devel' + $config_file = '/etc/sysconfig/memcached' + $config_tmpl = "${module_name}/memcached_sysconfig.erb" + $user = 'memcached' + } + default: { + fail("Unsupported platform: ${::osfamily}/${::operatingsystem}") + } + } } } }