I am working on one-click deployment of a system onto Ubuntu machine. Just started using Puppet for this. It appears, in order for me to use external modules, I must pre-install them using something like
puppet module install foo
Questions:
It's a standalone puppet set up (so not a master-slave one). I will have to repeat this many times for different customers. Hence will be nice to have a single button doing all the work for me. In later stage, there is a place for master-slave setup. But it must be independent for each customer though.
I'm working in a master less setup.
You should probably look at librarian-puppet You write Puppetfile describe all your modules :
and librarian-puppet will compute a modules directory for you.
librarian-puppet install
You can then upload it to the target machine and launch the puppet apply. It works well with vagrant also.
config.vm.provision :puppet, :module_path => "modules"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With