R10k Deploy single module first time

114 views
Skip to first unread message

broncosd183

unread,
Aug 16, 2016, 11:14:14 AM8/16/16
to Puppet Users
Hello,

Is there a way to deploy a single module from a puppetfile the first time it is added to an environment's puppetfile without deploying other modules? Normally when we add a module from the forge or git we add it to the puppetfile and then run r10k deploy environment -pv. That deploys all the modules and can be somewhat time consuming. I know r10k deploy module exists, but it looks like that doesn't deploy a module if it was just added to the puppetfile... Thanks!

Christopher Wood

unread,
Aug 16, 2016, 12:05:31 PM8/16/16
to puppet...@googlegroups.com
You can incrementally check r10k syntax with:

r10k
r10k deploy
(etc.)

In your case maybe one of these? Try it and see, I never use these.

r10k deploy module modulename
r10k deploy module --environment myenv modulename
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [1]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msgid/puppet-users/e775d602-ce6e-4de4-a3fd-be2989aceae9%40googlegroups.com.
> For more options, visit [3]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:puppet-users...@googlegroups.com
> 2. https://groups.google.com/d/msgid/puppet-users/e775d602-ce6e-4de4-a3fd-be2989aceae9%40googlegroups.com?utm_medium=email&utm_source=footer
> 3. https://groups.google.com/d/optout

Andreas Paul

unread,
Aug 19, 2016, 11:49:33 AM8/19/16
to Puppet Users
Hi,

shameless self-plug: you could try out my r10k fork https://github.com/xorpaul/g10k

It does the almost all operations in parallel which can speed up your environment deployment dramatically.

Already compiled binary blobs can be found here: https://github.com/xorpaul/g10k/releases
Reply all
Reply to author
Forward
0 new messages