Created
June 26, 2018 23:41
-
-
Save jacobwyke/0fb08d25cf544b85572154e960073aaf to your computer and use it in GitHub Desktop.
question 10
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 custom_nginx { | |
package { 'nginx': | |
ensure => latest, | |
} | |
file { '/etc/nginx/nginx.conf': | |
source => 'puppet:///modules/custom_nginx/etc/nginx/nginx.conf', | |
group => 'root', | |
owner => 'root', | |
mode => '644', | |
require => [ | |
Package['nginx'], | |
], | |
notify => Service['nginx'], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment