[Puppet Users] Module parameter handling

2016-03-02 Thread Thomas Bendler
Hi @all, I write a module that create local users on my boxes. Now I try to make that module fully dynamic so that the user informations are passed to the module as parameter like this: class { 'local_users': user => [ { 'john' => { name => 'John Doe', home => '/export/home/john' } }, {

Re: [Puppet Users] Module parameter handling

2016-03-02 Thread Hristo Mohamed
Look up on the create_resources function on the docs. If I undestood you correctly, you want to create all the users from your hash, with the user type at ONCE? If yes, this will do nicely :) Hristo On Wed, Mar 2, 2016 at 11:26 AM, Thomas Bendler wrote: > Hi @all, > > I write a module that crea

[Puppet Users] Re: Help needed : Upgrade pf weblogic 12.1.3 to 12.2.1

2016-03-02 Thread bert hajee
Hi Meenu, I'm not sure what your exact problem is, but you can check out https://www.enterprisemodules.com/ and look for the WebLogic modules. You can also find some blog articles about extracting the configuration information. Checkout the blog to https://www.enterprisemodules.com/blog/archiv

Re: [Puppet Users] Custom type, relationship and fetch order

2016-03-02 Thread Thomas Champagne
Thanks for answering Felix, I solve some problems with require/before parameters in the manifest. I create a new type (user_group) that define link between user and group. The provider of user_group type call the provider of user to get the relationship. And I define new type in the manifest m

Re: [Puppet Users] Custom type, relationship and fetch order

2016-03-02 Thread Felix Frank
Hi, I'm not sure about directly forcing a prefetch action. However, it seems to me that it would make sense for you to implement a *generate* method for your group type. It should enumerate the users that are members of the group and create a Puppet resource each. (Don't worry about duplicate

Re: [Puppet Users] Custom type, relationship and fetch order

2016-03-02 Thread Thomas Champagne
Yes, I agree with you. I have seen this solution in the "resources" type that generate resources to purge them. So, you tell : in the generate method of "group" type, it call instance method of the user provider to generate user. With this solution, if I define a user in the node, the rest endp

[Puppet Users] Hiera Data Binding not working on some modules

2016-03-02 Thread Julio Guevara
Hi Puppet Users, the situation is as follow. I have been trying to use the Data binding feature of hiera for this module https://forge.puppetlabs.com/jlambert121/puppet i have the following: dist/profiles/manifests/puppet_master.pp class profiles::puppet_master ($hello) { include ::puppet n

Re: [Puppet Users] Force Fact within manifest

2016-03-02 Thread Kylo Ginsberg
On Tue, Mar 1, 2016 at 9:09 AM, JS wrote: > Which guy? The OP? > > Yep, OP, per the rest of the post. > > That's not what anyone else in this necro'd thread said back in its >> previous life, so exactly what and who are you agreeing with? > > Yes, it was actually this necro'd threads main point

[Puppet Users] Re: Hiera Data Binding not working on some modules

2016-03-02 Thread Julio Guevara
Running the puppetserver on debug mode i got the following: puppet::server 2016-03-02 13:25:27,995 DEBUG [puppet-server] Puppet Performing a hiera indirector lookup of puppet::server with options {:variables=>Scope(Class[ Puppet]), :merge=>#>, @value_type=#]>>>]>, @options={}>} 2016-03-02 13:25:

[Puppet Users] IS it possible to generate dynamically the configuration of a node ?

2016-03-02 Thread Martin Rodriguez
Hi, I'm new to puppet and a java developer. I'm looking for a way to force the puppet server to connect to my java app to get the configuration of a node ? If it is possible, could you please give an example of the code like a hello world. I just simply want to generate file type configs dyna

Re: [Puppet Users] IS it possible to generate dynamically the configuration of a node ?

2016-03-02 Thread Peter Kristolaitis
This is exactly what an ENC is for: https://docs.puppetlabs.com/guides/external_nodes.html On 3/2/2016 4:56 PM, Martin Rodriguez wrote: Hi, I'm new to puppet and a java developer. I'm looking for a way to force the puppet server to connect to my java app to get the configuration of a node ?

Re: [Puppet Users] running puppet cert list as a regular user - not root

2016-03-02 Thread warron.french
Have you checked the Unix perms? On Feb 28, 2016 8:30 PM, "solarflow 99" wrote: > Does anyone know if this can be done with puppet OSS? > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving

[Puppet Users] Nagios installation with puppet

2016-03-02 Thread moonsun1124
Hi, do we have any good document on installation of nagios by using puppet. I am using puppet 4.3 enterprise version and cent os 7. I have checked couple of url but those are not working. Thanks, -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

[Puppet Users] Re: Nagios installation with puppet

2016-03-02 Thread Leonardo
Try to install puppet module. #puppet module search nagios Em quarta-feira, 2 de março de 2016 20:45:23 UTC-3, moons...@gmail.com escreveu: > > Hi, do we have any good document on installation of nagios by using puppet. > > I am using puppet 4.3 enterprise version and cent os 7. I have checked