Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
A couple of tuning tips if you’ve got >1000 hosts reporting complex puppet runs: Check the SQL backend’s tuning. Most modern databases have archaic default memory footprints. Also, Passenger only spins up a couple of worker threads by default, and these can get swamped, blocking on IO without actually stressing the CPU. I’ve run 12-14 threads on an 8 core server just fine, but depending on load type, ymmv.
Hi - Somewhere along the foreman initial setup the author used forman.nyc2.example.com, and then in the code referred to puppet.nyc2.example.com. For someone else, this might be confusing… Thanks!
This comment has been deleted
This is really good, thanks. We’ve added it to the list of articles in theforeman.org, I hope that will bring some people here to read this awesome tutorial :)
By the way, we have recently released a DigitalOcean compute resource plugin, so you can auto associate your hosts with DigitalOcean images and so on. I hope you find it useful and give us some feedback about it!!
Thank you. I’ve read all 3 articles and successfully setup my puppet test servers without issue. I’ve been followed other instructions before, also got errors.
Be warned if you are trying this with the smallest droplet it might run out of memory and the installation will fail.
Solution : Add some swap.
dd if=/dev/zero of=/swapfile bs=1024 count=512k
mkswap /swapfile
swapon /swapfile
Hi, I found this write up useful in deploying puppet with foreman. However, I am having some problems with puppet 3.7.5 (Not much of a problem though) with the warning message that comes with running puppet commands:
Warning: Sections other than main, master, agent, user are deprecated in puppet.conf. Please use the directory environments feature to specify environments. (See http://docs.puppetlabs.com/puppet/latest/reference/environments.html) (at /usr/lib/ruby/vendor_ruby/puppet/settings/config_file.rb:82:in `block in unique_sections_in’)
The issue is that the present configuration uses config file environment, and it seems that will be discontinued soon. I will like to stop this warning message by switching to directory environment.
I tried changing the puupet.conf file to support environment by adding the following under the [main] section
environmentpath = $confdir/environments basemodulepath = $confdir/modules:/usr/share/puppet/modules
while I removed (commented out) the [development], [test] and [production] sections. Then I created the manifests directory and environment.conf file in every existing (development,test and prod). Foreman automatically suggested deleting those directories and by that could no longer retrieve the modules in those environments.
my environment.conf looks like this: modulepath = /etc/puppet/environments/prod/modules manifest = /etc/puppet/environments/prod/manifests config_version = /usr/bin/true
sudo puppet apply --noop modules/mytest/manifests/init.pp Warning: Invalid settings in environment.conf at ‘/etc/puppet/environments/production/environment.conf’. The following unknown setting(s) are being ignored: manifests Warning: Invalid settings in environment.conf at ‘/etc/puppet/environments/production/environment.conf’. The following unknown setting(s) are being ignored: manifests Warning: Invalid settings in environment.conf at ‘/etc/puppet/environments/production/environment.conf’. The following unknown setting(s) are being ignored: manifests Warning: Invalid settings in environment.conf at ‘/etc/puppet/environments/production/environment.conf’. The following unknown setting(s) are being ignored: manifests
Question: Any Idea what I am doing wrong? Thanks in advance.
Great tutorial !
But for us Debian lovers we will have a problem since the version default on debian is still 2.7
But if we install the puppetlabs puppet before, we’re ok cd ~; wget https://apt.puppetlabs.com/puppetlabs-release-wheezy.deb sudo dpkg -i puppetlabs-release-wheezy.deb
i am a beginner at using puppet. just wanted to confirm if this will work for mac osx agents also. please provide some more tutorials on how to manage servers and node using puppet with foreman.