Last active
January 7, 2018 01:27
-
-
Save devsecfranklin/fa5da83b63063dd2f9e36ca65e097050 to your computer and use it in GitHub Desktop.
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
* Create a new file in iac_workshop/puppetlabs/code/environments/production/modules/profile/templates | |
* Let's call it issue.erb | |
``` | |
<%# Non-printing tag ↓ -%> | |
<% if @keys_enable -%> | |
<%# Expression-printing tag ↓ -%> | |
keys <%= @keys_file %> | |
<% unless @keys_trusted.empty? -%> | |
trustedkey <%= @keys_trusted.join(' ') %> | |
<% end -%> | |
<% if @keys_requestkey != '' -%> | |
requestkey <%= @keys_requestkey %> | |
<% end -%> | |
<% if @keys_controlkey != '' -%> | |
controlkey <%= @keys_controlkey %> | |
<% end -%> | |
<% end -%> | |
``` | |
* We need to add something to a new or existing maniftest to gather the variables and apply them /install the template. | |
``` | |
file {'': | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment