Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #1

Open
wants to merge 3 commits into
base: postblog
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -61,4 +61,4 @@ Desktop.ini
$RECYCLE.BIN/

.tar.gz
.idea
.idea/
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/dictionaries/gstafford.xml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/encodings.xml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/multi-vagrant-puppet-vms.iml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/scopes/scope_settings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

430 changes: 0 additions & 430 deletions .idea/workspace.xml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -15,12 +15,10 @@ configuration files for alternate environments since the Vagrantfile is designed
vagrant up # brings up all VMs
vagrant ssh puppetmaster

sh /vagrant/bootstrap-master.sh # run bootstrap script

sh /vagrant/bootstrap-master.sh # run bootstrap script
sudo service puppetmaster status # test that puppet master was installed
sudo service puppetmaster stop
sudo puppet master --verbose --no-daemonize
sudo puppetmaster --verbose --no-daemonize
# Ctrl+C to kill puppet master
sudo service puppetmaster start
sudo puppet cert list --all # check for 'puppet' cert
Expand Down
3 changes: 2 additions & 1 deletion bootstrap-master.sh
Expand Up @@ -21,13 +21,14 @@ else
echo "192.168.32.20 node02" | sudo tee --append /etc/hosts 2> /dev/null

# Add optional alternate DNS names to /etc/puppet/puppet.conf
sudo sed -i 's/.*\[main\].*/&\ndns_alt_names = puppet,puppetvm,puppetvm.com/' /etc/puppet/puppet.conf
sudo sed -i 's/.*\[main\].*/&\ndns_alt_names = puppet/' /etc/puppet/puppet.conf

# Install some initial puppet modules on Puppet Master server
sudo puppet module install puppetlabs-ntp
sudo puppet module install garethr-docker
sudo puppet module install puppetlabs-git
sudo puppet module install puppetlabs-vcsrepo
sudo puppet module install garystafford-fig

# symlink manifest from Vagrant synced folder location
ln -s /vagrant/site.pp /etc/puppet/manifests/site.pp
Expand Down