Closed mp05 closed 2 years ago
I have tried to use heira to define a banner pulled from a module like so
ssh::sshd_banner_content: file('filerepo/ssh/security_banner') ssh::sshd_config_banner: '/etc/ssh/security_banner'
Where 'filerepo' is the name of a module
The result is a file /etc/ssh/security_banner with content 'file('filerepo/ssh/security_banner')'
Is there some magic syntax that I need?
The content requires the actual content in the string. You could write the content to that file using a profile class.
I have tried to use heira to define a banner pulled from a module like so
Where 'filerepo' is the name of a module
The result is a file /etc/ssh/security_banner with content 'file('filerepo/ssh/security_banner')'
Is there some magic syntax that I need?