Displaying 1 result from an estimated 1 matches for "scstack".
Did you mean:
cstack
2012 Nov 13
3
Overwriting a file provisioned by another module
...what I want to accomplish and how I would like to do it.
I''m installing ssh by using the saz::ssh <https://github.com/saz/puppet-ssh>module. This module provision the sshd_config file with the ssh
configuration.
I need to tune the sshd_config file, so I have a module, say patxi::scstack
that includes ssh and tries to overwrite the sshd_config by defining this
file again:
class scstack_ssh {
include ssh
file { "/etc/ssh/sshd_config":
content => template("scstack/sshd_config"),
}
}
This approach fails as expected:
Duplicate declaration: File[/e...