Skip to content

Instantly share code, notes, and snippets.

View baldwinsung's full-sized avatar

Baldwin Sung baldwinsung

View GitHub Profile
@baldwinsung
baldwinsung / simple-install-config-puppet.bash
Created March 31, 2017 04:36
Simple Installation & Configuration of Puppet
ansible digitalocean-all -m yum -a “name=https://yum.puppetlabs.com/puppetlabs-release-pc1-el-6.noarch.rpm state=present”
ansible droplet1-west -m yum -a "name=puppetserver state=latest"
ansible digitalocean-all -m yum -a "name=puppet state=latest"
ansible droplet1-west -m service -a "name=puppetserver enabled=yes state=restarted"
ansible digitalocean-all -m yum -a "name=puppet state=latest"
ansible digitalocean-all -m service -a "name=puppet enabled=yes state=restarted"
ansible droplet1-west -m shell -a "/opt/puppetlabs/bin/puppet cert list --all"
ansible droplet1-west -m shell -a "/opt/puppetlabs/bin/puppet cert sign --all"
#!/bin/bash
printf "test\n"