How can i setup puppet on Django droplet?

I’ve setup a Django on 14.04 (Ubuntu) droplet and installed puppetmaster and puppet packages. Both the master and agent are on the same droplet. I’m trying to perform the classic “hello world” test to make sure everything is working well but it doesn’t seem to be working. Not quite sure how to start debugging this. I’ve read that setting up puppet require an apache server but this Django droplet come with nginx which I would prefer to keep. Could someone offer some advice, direction, or articles on how to set this up?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


You should just be able to specify the Nginx document root index.html as a file target in your manifest, such as:

file { 'index.html':
  path    => '/usr/local/nginx/index.html',
  content => 'Hello World',

The path may vary, but provided Nginx is installed, that should be an appropriate method for getting a default page up via Puppet.


Joseph D. Marhee Customer Success Engineer