By bearhebrew
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?
Thanks!
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!
Hello,
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.
Best,
Joseph D. Marhee Customer Success Engineer https://digitalocean.com
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.