-
-
Save dmsimard/174971182870d03394f3f2223cf59412 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum -y install yum-plugin-priorities | |
# Set trunk repositories | |
curl https://trunk.rdoproject.org/centos7-master/delorean-deps.repo |tee /etc/yum.repos.d/delorean-deps.repo | |
curl https://trunk.rdoproject.org/centos7-master/consistent/delorean.repo |tee /etc/yum.repos.d/delorean.repo | |
yum -y install puppet | |
puppet module install saz-memcached --version 2.8.1 | |
mkdir /etc/puppet/manifests | |
cd /etc/puppet/manifests | |
cat <<EOF >test.pp | |
include ::memcached | |
EOF | |
puppet apply test.pp | |
sleep 5; | |
ps aux |grep memcached | |
journalctl -u memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment