search for: scstack_ssh

Displaying 1 result from an estimated 1 matches for "scstack_ssh".

2012 Nov 13
3
Overwriting a file provisioned by another module
...::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[/etc/ssh/sshd_config] is already declared in file /tmp/vagrant-puppet/modules-0/ssh/manifests/server/config....