Skip to content

Instantly share code, notes, and snippets.

@dmsimard

dmsimard/test.sh Secret

Last active November 2, 2016 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmsimard/174971182870d03394f3f2223cf59412 to your computer and use it in GitHub Desktop.
Save dmsimard/174971182870d03394f3f2223cf59412 to your computer and use it in GitHub Desktop.
#!/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