Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread Craig Dunn
On Fri, Jul 3, 2015 at 3:10 PM, R.I.Pienaar r...@devco.net wrote: I tried: exec{false: before = Exec[true]} exec{true: } This fails because before implies a requirement. If you don't care about a failure, why not always mask it to be true? exec { '/bin/remove mystuff; /bin/true':

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread Christopher Wood
On Fri, Jul 03, 2015 at 02:10:55PM +0100, R.I.Pienaar wrote: hello, I am looking for a way to influence run order without also doing dependencies. I have a case where I am removing a bit of software from my system and so as is typical things need to be done in a different order from

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread R.I.Pienaar
- Original Message - From: Christopher Wood christopher_w...@pobox.com To: puppet-users puppet-users@googlegroups.com Sent: Friday, July 3, 2015 3:34:29 PM Subject: Re: [Puppet Users] Ordering without dependencies On Fri, Jul 03, 2015 at 02:10:55PM +0100, R.I.Pienaar wrote: hello,

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread Daniel Dreier
On Jul 3, 2015, at 7:42 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - From: Christopher Wood christopher_w...@pobox.com To: puppet-users puppet-users@googlegroups.com Sent: Friday, July 3, 2015 3:34:29 PM Subject: Re: [Puppet Users] Ordering without dependencies

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread R.I.Pienaar
- Original Message - From: Craig Dunn cr...@craigdunn.org To: puppet-users puppet-users@googlegroups.com Sent: Friday, July 3, 2015 2:47:53 PM Subject: Re: [Puppet Users] Ordering without dependencies On Fri, Jul 3, 2015 at 3:10 PM, R.I.Pienaar r...@devco.net wrote: hello, I am

[Puppet Users] Ordering without dependencies

2015-07-03 Thread R.I.Pienaar
hello, I am looking for a way to influence run order without also doing dependencies. I have a case where I am removing a bit of software from my system and so as is typical things need to be done in a different order from creation, crucially I also do not really care if removal fails. It

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread Craig Dunn
On Fri, Jul 3, 2015 at 4:42 PM, R.I.Pienaar r...@devco.net wrote: On teardown I don't care what stays and go, just want to try my best to kill things So the resources in question are varied and custom and spread over multiple hosts. So rather than a specific solution that involves just

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread Christopher Wood
On Fri, Jul 03, 2015 at 03:42:42PM +0100, R.I.Pienaar wrote: - Original Message - From: Christopher Wood christopher_w...@pobox.com To: puppet-users puppet-users@googlegroups.com Sent: Friday, July 3, 2015 3:34:29 PM Subject: Re: [Puppet Users] Ordering without dependencies

Re: [Puppet Users] Ordering without dependencies

2015-07-03 Thread R.I.Pienaar
- Original Message - From: Daniel Dreier daniel.dre...@puppetlabs.com To: puppet-users puppet-users@googlegroups.com Sent: Friday, July 3, 2015 4:19:09 PM Subject: Re: [Puppet Users] Ordering without dependencies On Jul 3, 2015, at 7:42 AM, R.I.Pienaar r...@devco.net wrote:

Re: [Puppet Users] Turn on strict_variables for an enviornment only

2015-07-03 Thread Henrik Lindberg
On 2015-25-06 5:37, david.lev...@netspot.com.au wrote: Hey All, We are looking at turning on strict variables, but want to do some checking/due diligence before on an environment before making it standard in prod.

[Puppet Users] How to change not reports nodes from 30 days to 1 day?

2015-07-03 Thread staceytian4321
Hi guys, I have a question about Puppet Dashboard report. I am using open source Puppet 3.7.3 and Dashboard. On puppet dashboard, I can check which nodes has not reported http://mypuppetmaster:3000/nodes/unreported Daily run status Number and status of runs during the *last 30 days*: — No

Re: [Puppet Users] Puppet 4 API, questions about custom functions and data binding in modules

2015-07-03 Thread Henrik Lindberg
On 2015-25-06 6:19, Francois Lafont wrote: Hi, Sorry again for my late answer. On 17/06/2015 19:01, Henrik Lindberg wrote: Functions in puppet are under module/functions/ and not under module/lib/puppet/functions (where only ruby functions should live). You do not have to change the

Re: [Puppet Users] Exposing master to the public internet

2015-07-03 Thread Craig Dunn
On Thu, Jul 2, 2015 at 9:51 PM, Nik Haldimann n...@placemeter.com wrote: However, my impression is that a puppet master is usually deployed within a private networks (e.g., internal to a data center or as part of a private VPC subnet on AWS). For my use case I would have to open the master to

[Puppet Users] Re: how to access fact with host specific name like zone_vm5809_iptype

2015-07-03 Thread asq
W dniu piątek, 3 lipca 2015 08:28:22 UTC+2 użytkownik Andreas Dvorak napisał: Dear all, I would like to use the fact zone_vm5809_iptype, but vm5809 is specific to the host vm5809. If this fact on any host is excl do something Can somebody please help me? I have tried: if (

[Puppet Users] puppet firewall module and more esoteric rules

2015-07-03 Thread Tom Boland
Hi all, I've been looking at using the puppet firewall module to define the rules on a load balancer/proxy I'm working on. Unfortunately, I don't think it's going to work, unless there's a workaround for the issue I've just found. I'm looking at implementing the SYNPROXY guidelines in this

[Puppet Users] Re: how to access fact with host specific name like zone_vm5809_iptype

2015-07-03 Thread Andreas Dvorak
Thank you that is nice -- 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

Re: [Puppet Users] How to ensure puppet agent run if cron is used and service disabled?

2015-07-03 Thread Angel L. Mateo
El 02/07/15 a las 16:12, staceytian4...@gmail.com escribió: Hi, I have a question about how to manage puppet agent run. I am using cron for Puppet agent to run at a specific time. Since I use cron to run puppet agent, I disable the puppet daemon service (chkconfig puppet off; service puppet

[Puppet Users] how to access fact with host specific name like zone_vm5809_iptype

2015-07-03 Thread Andreas Dvorak
Dear all, I would like to use the fact zone_vm5809_iptype, but vm5809 is specific to the host vm5809. If this fact on any host is excl do something Can somebody please help me? I have tried: if ( $::zone_${::hostname}_iptype == 'excl') Could not match ${::hostname}_iptype or $hostname =

Re: [Puppet Users] How to execute multiple script in puppet using bashrc file sourced.

2015-07-03 Thread ayyanar
On Thursday, July 2, 2015 at 3:25:42 PM UTC+5:30, Martin Alfke wrote: Hi, On 02 Jul 2015, at 10:29, Ayyanar ayyan...@gmail.com javascript: wrote: 1. I am executing two shell script in puppet agent. 2. In first shell script setting env variable in bashrc file. example export

[Puppet Users] Re: Using Puppet 4 with external CA and single intermediate CA

2015-07-03 Thread Andreas Paul
Found a Puppet Server bug which sounds to me like the source of my problem: https://tickets.puppetlabs.com/browse/SERVER-346 On Thursday, July 2, 2015 at 6:36:52 PM UTC+2, Andreas Paul wrote: Hello there, I'm trying to bootstrap my new Puppet 4 environment with an external CA as described