Created
December 15, 2015 03:47
-
-
Save awaxa/d40e17d5262bf4446e1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class apache { | |
package { 'httpd': | |
ensure => present, | |
} | |
file { '/etc/httpd/conf/httpd.conf': | |
ensure => file, | |
owner => 'root', | |
group => 'root', | |
mode => '0644', | |
source => 'puppet:///modules/apache/httpd.conf', | |
} | |
service { 'httpd': | |
ensure => running, | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ntp { | |
package { 'ntp': | |
ensure => present, | |
} | |
file { '/etc/ntp.conf': | |
ensure => file, | |
owner => 'root', | |
group => 'root', | |
mode => '0644', | |
source => 'puppet:///modules/ntp/ntp.conf', | |
} | |
service { 'ntpd': | |
ensure => running, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment