Hello Everyone in the Puppet World, I'm fairly new to Puppet. I'm still learning the basics. I actually just got done completing the learning section covering variables, conditionals, & facts over on this page: < http://docs.puppetlabs.com/learning/variables.html>
Here's my situation... I've completed the exercises near the bottom of the page. I'm not sure if my manifests are right or not. Am I writing the code properly? Do I have the concept down? It is hard to tell. Is there a place online we can find solutions? Would anyone be willing to look over my code? ANY help would be greatly appreciated! For the first exercise: Use the $operatingsystem fact to write a manifest that installs a build environment on Debian-based (“debian,” “ubuntu”) and Enterprise Linux-based (“centos,” “redhat”) machines. (Both types of system require the gcc package, but Debian-type systems also require build-essential.) I have attached a screenshot of my code here... Have I done this correctly? Is anything missing? Thank you in advance! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
<<attachment: Puppet - case and conditional statements example 1.PNG>>
