Editing FOREMAN+PUPPET

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== products ==
http://theforeman.org/
https://puppetlabs.com/
== howto docs ==
http://docs.puppetlabs.com/learning/agent_master_basic.html
http://docs.puppetlabs.com/learning/agent_master_basic.html


http://docs.puppetlabs.com/puppet/2.7/reference/modules_installing.html
http://theforeman.org/
 
 
 
== puppet modules ==


http://forge.puppetlabs.com/
http://forge.puppetlabs.com/
== Install from PuppetLabs Repos ==
http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html
===Enterprise Linux 5===
<source>
sudo rpm -ivh http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-7.noarch.rpm
sudo yum install puppet
</source>
===Enterprise Linux 6===
<source>
sudo rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm
sudo yum install puppet
</source>
=== Ubuntu / Debian ===
<source>
wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update
sudo apt-get install puppet
</source>
<source>
## extra due to broken dependency
sudo apt-get install libaugeas-ruby1.9.1
</source>
===Fedora 16===
<source>
sudo rpm -ivh http://yum.puppetlabs.com/fedora/f16/products/i386/puppetlabs-release-16-7.noarch.rpm
sudo yum install puppet
</source>
===Fedora 17===
<source>
sudo rpm -ivh http://yum.puppetlabs.com/fedora/f17/products/i386/puppetlabs-release-17-7.noarch.rpm
sudo yum install puppet
</source>
===Fedora 18===
<source>
sudo rpm -ivh http://yum.puppetlabs.com/fedora/f18/products/i386/puppetlabs-release-18-7.noarch.rpm
sudo yum install puppet
</source>
== quick and dirty ==
=== connect client to server ===
* Verify you can resolve the host 'puppet'
#run puppet on client
root@musicbrainz:~# puppet agent --test
Info: Caching certificate for ca
Info: Creating a new SSL certificate request for musicbrainz.local
Info: Certificate Request fingerprint (SHA256): .....
Exiting; no certificate found and waitforcert is disablede
</source>
<source>
# sign client cert on server
[root@puppet manifests]# puppet cert list
  "musicbrainz.local" (SHA256) .......
[root@puppet manifests]# puppet cert sign musicbrainz.local
Notice: Signed certificate request for musicbrainz.local
Notice: Removing file Puppet::SSL::CertificateRequest musicbrainz.local at '/var/lib/puppet/ssl/ca/requests/musicbrainz.local.pem'
</source>
<source>
# now run puppet on client (it will not do anything unless you have configured site.pp or other means)
root@musicbrainz:~# puppet agent --test
Info: Caching catalog for musicbrainz.local
Info: Applying configuration version '1367080619'
Notice: /Stage[main]//Node[default]/Service[puppet]/ensure: ensure changed 'stopped' to 'running'
Notice: Finished catalog run in 1.83 seconds
</source>


[[Category:How-to]]
[[Category:How-to]]
[[Category:Linux]]
[[Category:Linux]]
Please note that all contributions to RARForge may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see RARForge:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)