rakotomandimby

Untitled

Aug 22nd, 2014
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. yum install -y perl;
  2. curl -s -O https://s3.amazonaws.com/cfengine.package-repos/pub/gpg.key && rpm --import gpg.key && rm -f gpg.key
  3. echo -e "[cfengine-repository]\nname=CFEngine\nbaseurl=http://cfengine.com/pub/yum/\$basearch/\nenabled=1\ngpgcheck=1" > /etc/yum.repos.d/cfengine-community.repo
  4. yum -y install cfengine-community && /var/cfengine/bin/cf-agent -B my.hub.localdomain
Advertisement
Add Comment
Please, Sign In to add comment