Puppet won't execute command
- by tom
Puppet 0.25.4 on ubuntu point blank refuses to execute the following command:
exec {"initiate replica set":
command => "echo 'rs.initiate()' | mongo",
path => ["/usr/bin","/usr/sbin","/bin"],
user => "root",
require => Class["mongodb"]
}
I can execute the command as root myself, so I'm guessing perhaps it's an issue…