Created
January 16, 2015 17:52
-
-
Save DBMoUK/98334bf6ea4194e7d705 to your computer and use it in GitHub Desktop.
EnsureTLSv1
This file contains hidden or 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
# === Authors | |
# | |
# David Bryant-Moore <[email protected]> | |
# | |
# === Copyright | |
# | |
# Copyright 2015 Puppetlabs. | |
# | |
class ensuretlsv1 { | |
$confpath='/etc/puppetlabs/httpd/conf.d' | |
File_line { | |
line => 'SSLProtocol TLSv1', | |
ensure => present, | |
match => "^\\s+SSLProtocol\\s+", | |
} | |
file_line {'ssl.conf': | |
path => "${confpath}/ssl.conf", | |
} | |
file_line {'puppetproxy.conf': | |
path => "${confpath}/puppetproxy.conf", | |
} | |
file_line {'puppetdashboard.conf': | |
path => "${confpath}/puppetdashboard.conf", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment