Re: [Puppet Users] firewall module to accept array of sources/dests

2016-03-06 Thread Alex Harvey
Hi all,

I have a working prototype and any feedback would be welcome.
https://github.com/alexharv074/puppet-firewall_multi

Kind regards,
Alex



On 21 February 2016 at 10:28, Felix Frank 
wrote:

> On 02/19/2016 04:00 AM, Alex Harvey wrote:
>
>> So I think I'll call it:
>>
>> firewall_multi
>>
>> It will basically accept any parameter that firewall accepts and pass it
>> straight through to the firewall resource, unless that parameter is the
>> source or destination, in which case it will of course loop through these
>> arrays, spawing one firewall resource for each.
>>
>
> :thumbs_up: :-)
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/6pF_AP3lZbk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/56C8F68B.4000504%40Alumni.TU-Berlin.de
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAF0Ep4W7yf2M-29ebcN9wG1oMXhRusyD7micxyrwSmdBwKvCZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Need support to add users in Group and remove + ldap users

2016-03-06 Thread shyam sundar Keshari
Hi Friends,

Need your help to complete 1 task describe below :

1.>Need to add users (ldap user) in wheel group
2.>Remove user from wheel group .

I am able to add using below steps :

user { 'shyam.kumar':- shyam.kumar  (ldap user
not locally created )
gid => '11000', - this is ldap gid for my user
groups => 'wheel',
}

So kindly provide any modules or code which can remove user from wheel ..

NOTE: Using ldap(Active directory ) account  credential to login to all
linux using SSSD configuratino.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAL4qkLZ2RUCQMrhmJBwrM9G5sxoa_W828xVKUZM0YQissvo4BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Help to find Automation tool

2016-03-06 Thread Mamadou CHERIF
Hello Team,

I am a noob on automation.
I should choose one tool between Puppet, CHEF and Spacewalk.
I have done some research on the web and i found that puppet is better.
But our company would like to use puppet opensource not enterprise version.

I would like to know if puppet ope,source version supports WINDOWS.

Thanks !


-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/516bb44b-166d-4897-ae2d-e87cfdd63e96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Help to find Automation tool

2016-03-06 Thread Martin Alfke
Hi Mamadou,

Puppet OpenSource also supports windows:
https://docs.puppetlabs.com/windows/

Best,
Martin

On 06 Mar 2016, at 10:13, Mamadou CHERIF  wrote:

> Hello Team,
> 
> I am a noob on automation.
> I should choose one tool between Puppet, CHEF and Spacewalk.
> I have done some research on the web and i found that puppet is better.
> But our company would like to use puppet opensource not enterprise version.
> 
> I would like to know if puppet ope,source version supports WINDOWS.
> 
> Thanks !
> 
> 
> 
> -- 
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/516bb44b-166d-4897-ae2d-e87cfdd63e96%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/BEAD52E4-606E-4385-A9AA-ACDF6C7E2359%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Help to find Automation tool

2016-03-06 Thread mamadou2cherif
Dear Martin ! 

Great!!!
Thanks you so much.
I will come back if any issue regarding Puppet Deployment.

Regards,

Envoyé de mon smartphone BlackBerry 10.
  Message d'origine  
De: Martin Alfke
Envoyé: dimanche 6 mars 2016 17:41
À: puppet-users@googlegroups.com
Cc: mamadou2che...@yahoo.fr
Objet: Re: [Puppet Users] Help to find Automation tool

Hi Mamadou,

Puppet OpenSource also supports windows:
https://docs.puppetlabs.com/windows/

Best,
Martin

On 06 Mar 2016, at 10:13, Mamadou CHERIF  wrote:

> Hello Team,
> 
> I am a noob on automation.
> I should choose one tool between Puppet, CHEF and Spacewalk.
> I have done some research on the web and i found that puppet is better.
> But our company would like to use puppet opensource not enterprise version.
> 
> I would like to know if puppet ope,source version supports WINDOWS.
> 
> Thanks !
> 
> 
> 
> -- 
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/516bb44b-166d-4897-ae2d-e87cfdd63e96%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20160306184114.8196176.91197.2065%40yahoo.fr.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Help to find Automation tool

2016-03-06 Thread yeayu
Hello,

Although we all probably suggest you to go for it, I think you should give 
it some more thought...

There are many other factors to consider:
- what's your environment like? all windows? 50% linux based? OS versions? 
are they fully supported?
- how confident do you feel with puppet's DSL, powershell or other 
scripting languages like ruby (this one for chef)?
- supportability, scalability, expandability, integration with external 
tools (i.e. VMware)...

Before making a final decision, I would get familiar with these tools, 
perform some testing, review pros/cons according to your strategic vision 
(what are you going to manage in the next 3/6/12/18 months?) ... and then 
make up your mind.

I hope this helps.

Regards



On Sunday, 6 March 2016 18:41:24 UTC, Mamadou CHERIF wrote:
>
> Dear Martin !  
>
> Great!!! 
> Thanks you so much. 
> I will come back if any issue regarding Puppet Deployment. 
>
> Regards, 
>
> Envoyé de mon smartphone BlackBerry 10. 
>   Message d'origine   
> De: Martin Alfke 
> Envoyé: dimanche 6 mars 2016 17:41 
> À: puppet...@googlegroups.com  
> Cc: mamadou...@yahoo.fr  
> Objet: Re: [Puppet Users] Help to find Automation tool 
>
> Hi Mamadou, 
>
> Puppet OpenSource also supports windows: 
> https://docs.puppetlabs.com/windows/ 
>
> Best, 
> Martin 
>
> On 06 Mar 2016, at 10:13, Mamadou CHERIF  > wrote: 
>
> > Hello Team, 
> > 
> > I am a noob on automation. 
> > I should choose one tool between Puppet, CHEF and Spacewalk. 
> > I have done some research on the web and i found that puppet is better. 
> > But our company would like to use puppet opensource not enterprise 
> version. 
> > 
> > I would like to know if puppet ope,source version supports WINDOWS. 
> > 
> > Thanks ! 
> > 
> > 
> > 
> > -- 
> > 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 puppet-users...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/516bb44b-166d-4897-ae2d-e87cfdd63e96%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/30c31d7b-875b-45fd-98a2-4e5457347776%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Help to find Automation tool

2016-03-06 Thread mamadou2cherif
  ‎Dear yeayu,Perfect! You are right...I waste my time to read many documentation over internet.But, I think that I found the right interlocutors now‎.Our infrastructure is based on virtualisation.We have 85% Linux VMs‎ and 15% Windows.We already use an automation tool which is Bladelogic. I have earlier done some comparison between Puppet and Bladelogic and found that the last one is powerful than Puppet.But we are oblige to change bladelogic for Group security raison.They proposed us 3 software (Chef, spacewalk and Puppet) .We have two distant Datacenter.We want to continue our Deployment, automatic OS installation, dashboard,  Group VM creation and so one...We have to take ownership on this automation tool and give limited right ‎to our partner.Best Regards !    Envoyé de mon smartphone BlackBerry 10.De: yeayuEnvoyé: dimanche 6 mars 2016 19:47À: Puppet UsersCc: tux...@gmail.com; mamadou2che...@yahoo.frObjet: Re: [Puppet Users] Help to find Automation toolHello,Although we all probably suggest you to go for it, I think you should give it some more thought...There are many other factors to consider:- what's your environment like? all windows? 50% linux based? OS versions? are they fully supported?- how confident do you feel with puppet's DSL, powershell or other scripting languages like ruby (this one for chef)?- supportability, scalability, expandability, integration with external tools (i.e. VMware)...Before making a final decision, I would get familiar with these tools, perform some testing, review pros/cons according to your strategic vision (what are you going to manage in the next 3/6/12/18 months?) ... and then make up your mind.I hope this helps.RegardsOn Sunday, 6 March 2016 18:41:24 UTC, Mamadou CHERIF  wrote:Dear Martin ! 

Great!!!
Thanks you so much.
I will come back if any issue regarding Puppet Deployment.

Regards,

Envoyé de mon smartphone BlackBerry 10.
  Message d'origine  
De: Martin Alfke
Envoyé: dimanche 6 mars 2016 17:41
À: puppet...@googlegroups.com
Cc: mamadou...@yahoo.fr
Objet: Re: [Puppet Users] Help to find Automation tool

Hi Mamadou,

Puppet OpenSource also supports windows:
https://docs.puppetlabs.com/windows/

Best,
Martin

On 06 Mar 2016, at 10:13, Mamadou CHERIF  wrote:

> Hello Team,
> 
> I am a noob on automation.
> I should choose one tool between Puppet, CHEF and Spacewalk.
> I have done some research on the web and i found that puppet is better.
> But our company would like to use puppet opensource not enterprise version.
> 
> I would like to know if puppet ope,source version supports WINDOWS.
> 
> Thanks !
> 
> 
> 
> -- 
> 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 puppet-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/516bb44b-166d-4897-ae2d-e87cfdd63e96%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.





-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20160306210115.8212559.8087.2071%40yahoo.fr.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: Need support to add users in Group and remove + ldap users

2016-03-06 Thread yeayu
Hi,

Have you had a look at this?
https://docs.puppetlabs.com/puppet/latest/reference/type.html#group-attribute-members

Taking into consideration wheel is a local group, you could remove any user 
from it simply by amending its members.

Regards


On Sunday, 6 March 2016 14:17:26 UTC, shyam sundar Keshari wrote:
>
> Hi Friends,
>
> Need your help to complete 1 task describe below :
>
> 1.>Need to add users (ldap user) in wheel group 
> 2.>Remove user from wheel group .
>
> I am able to add using below steps :
>
> user { 'shyam.kumar':- shyam.kumar  (ldap user 
> not locally created )
> gid => '11000', - this is ldap gid for my user 
> groups => 'wheel',
> }
>
> So kindly provide any modules or code which can remove user from wheel ..
>
> NOTE: Using ldap(Active directory ) account  credential to login to all 
> linux using SSSD configuratino.
>
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/926a0b98-455a-4517-b278-eea09fda1779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Re: puppet.conf documentation

2016-03-06 Thread yeayu
Hi,

Check this out:
https://docs.puppetlabs.com/puppet/latest/reference/config_file_main.html 

It should provide you the info you are looking for...

Regards,

On Thursday, 3 March 2016 18:52:15 UTC, Matt Zagrabelny wrote:
>
> Greetings, 
>
> I know that the puppet.conf documentation exists in extreme detail: 
>
> http://docs.puppetlabs.com/puppet/3.7/reference/configuration.html 
>
> What that page doesn't tell me is if the config items map to the 
> [agent] or [master] sections of the config file. 
>
> Does anyone know if that data exists in an easy to consume location? 
>
> On my puppet master system I have the following puppet.conf snippet: 
>
> [main] 
> logdir   = /var/log/puppet 
> vardir   = /var/lib/puppet 
> ssldir   = /var/lib/puppet/ssl 
> rundir   = /var/run/puppet 
> factpath = $vardir/lib/facter 
> dns_alt_names= puppet-3-7,puppet-3-7.d.umn.edu 
> stringify_facts  = false 
> ordering = manifest 
> environmentpath  = $confdir/environments 
> basemodulepath   = 
> $confdir/modules:$confdir/profiles:/usr/share/puppet/modules 
>
> Should I also have the same configs on my clients? 
>
> For instance, should stringify_facts be set on the clients? 
>
> Thanks for any help! 
>
> -m 
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5ed9c595-0a98-48c0-b4ce-4fe602897129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Re: puppet catalog compilation job queue idea

2016-03-06 Thread SG Madurai
Hi,  

did we further  explore options/alternatives with respect to pre-caching of 
catalogs by puppet master to improve agent run times.
Or  Is it like this was never looked at after this discussion.

I see an accepted ticket from Robin Bowes: 
https://projects.puppetlabs.com/issues/4486 
and trying to see the current status of this 'Accepted' feature request.

On Monday, January 20, 2014 at 7:48:29 AM UTC+9, Felix.Frank wrote:
>
> Hi, 
>
> you both raise a couple of good points. 
>
> All things considered, I lean towards John's point of view. There's much 
> to say for on-demand compilation. 
>
> - resource use scales with number of agents 
> - scaling can be influenced via intervals 
> - admins can predict the need for recompilation and trivially schedule 
> it by having agents check in 
>
> Yes, there can be peak load when many agents check in during a short 
> interval. I can't really see a way around that. I would consider it more 
> problematic to make it impossible to trigger a couple of quick 
> recompilations for a large number of nodes (think ad hoc changes to 
> larger cluster or cloud). 
>
> Cheers, 
> Felix 
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/cac452a5-ac3e-456d-a3e4-5c892cce4255%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.