1. class myssl {
2.* ... code that puts certificate files in place ....*
4.* if package https is installed {*
5. class {'apache::mod::ssl': } <- enables Apache's mod_ssl
6. }
7. }

In the module above, I'm setting up SSL certificates on a server, and I'd
like to to enable Apache's mod_ssl *only if* the manifest requires the
Apache package elsewhere. This is optional because some manifests may use
another web server. Is there a way to express a conditional in line 4 that
will test whether the httpd package is part of the manifest?

Thanks and in advance, and sorry for the newbie questions!

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 puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
grouppuppet-users @
postedApr 13, '13 at 4:44p
activeApr 15, '13 at 2:06p



site design / logo © 2022 Grokbase