Dear puppet community!
I am new to puppet, just started to play with.. And I got a question (hopefully not too silly): I use a standalone version to play with. I wrote a script to install PostgreSQL DB, it uses a modulepuppetlabs/postgresql
so to run this manifest, puppet should have it installed. As I got from the documentation I need to do it manually (using puppet module install ...). The question is if I can specify it in manifest (to check if puppet has this module installed and install if does not). The reason is that if I move to master/agents configuration, I want to install agents only where and when I need, and do not want to install all modules needed (although I can write a script, like bash, I do not want to do it, I want to take everything needed in one place :)
is it possible to solve it this way? Or is 'puppet module install ..' the only way?