This is just an example, don't ask why I am doing it, because I am not. However I just want to know how to do "fill in prompts" in puppet. So let's say in config.pp I have the following.
$user = 'testuser' exec {'change account password': command => "passwd $user", I want to change the pw for '123456' for example so it will have to do `123456` x2. path => ['/usr/local/bin','/bin/','/usr/bin/'] }
How can I do the above?
[link] [comments]