Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Adding Apache Example #1

Merged
merged 1 commit into from Jan 19, 2017
Merged

Conversation

ipcrm
Copy link

@ipcrm ipcrm commented Aug 19, 2016

Added apache example that will work for Ubuntu or CentOS (defaults to Ubuntu). In order to use it with CentOS you do need to pass both the from ("centos:7") option as well as cmd ("/usr/sbin/httpd,-DFOREGROUND")

Added apache example that will work for Ubuntu or RHEL (defaults
to Ubuntu).  In order to use it with RHEL you do need to pass both
the `from` option as well as `cmd` ("/usr/sbin/httpd,-DFOREGROUND")
@@ -0,0 +1,15 @@
class { '::apache':
default_vhost => false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modify from class { '::apache': to class { 'apache':

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheenaajay the format with :: is more correct. This avoids issues with finding classes at other parts of the hierarchy.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ipcrm @garethr .Thanks.Will merge the changes.Good to go

@sheenaajay
Copy link
Contributor

@ipcrm Thanks Matt for the contribution. Apologize for the delay.Please find the minor comments on the PR.

@sheenaajay sheenaajay merged commit 9150ef1 into puppetlabs-toy-chest:master Jan 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants