Thank you John, it helps; since I played with standalone I have not thought 
about it this way... So that's a good part :) 

And seems like I need to store a list of plugins I install on master 
anyway, just in case server with master fail or I need to reinstall it.. 
Because as I see there are e.g. few different modules for postgresql and I 
need to know what exactly is/was used for my manifest.

On Wednesday, December 12, 2012 4:57:21 PM UTC+2, jcbollinger wrote:
>
>
>
> On Tuesday, December 11, 2012 9:23:39 AM UTC-6, Maxym Pendyshchuk wrote:
>>
>> 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 module 
>> puppetlabs <http://forge.puppetlabs.com/puppetlabs>/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?
>>
>
> You seem to have a misunderstanding.  Puppet modules get installed only on 
> the master.  They define collections of configuration properties that you 
> may choose to apply to nodes (with the cooperation of agents running on 
> those nodes), as you configure on the master.  Anything from a module that 
> needs to be installed on agents for them to work with that module is 
> handled automatically by Puppet via its "plugin sync" feature.  Bottom 
> line: the behavior you want (as I understand it) is standard; you don't 
> need to do anything special to get it.
>
>
> John
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/CW7KAqpTcWEJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to