[Puppet Users] Re: How can we find out the directory presence?

2014-08-20 Thread Jason_s
you could drop down into pure ruby and evaluate that inside an inline_template… On Monday, August 18, 2014 2:05:43 PM UTC+2, Satish Katuru wrote: > > Hi , > > I wanted to find out whether the directory exists or not in the > machine.How can I do it? > > if I do it as below it will create a dir

[Puppet Users] Running exec BEFORE file change

2013-01-30 Thread Jason_s
Hi puppeteers, We have an issue being able to run REGSVR32 /u before a file is to be changed to de register it with the Windows Registry. The run the register afterwards part is fine, as we can use the subscribe /notify structure. What is your advice for this scenario? Thanks, Js -- You rec

Re: [Puppet Users] Right approach to Windows installers

2012-09-19 Thread Jason_s
Hi Paul, Thanks - good to know. I will double-check our server and client versions today. JS -- 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/-/uDL9bVm9gtAJ.

Re: [Puppet Users] Right approach to Windows installers

2012-09-19 Thread Jason_s
Hi Josh, I have realized my noob-ness since asking this question. I think it comes down to my mindset of thinking procedurally rather than in the puppet mindset of deterministically http://puppetlabs.com/blog/inside-puppet-about-determinism/ This are all great and useful comments: I will pass t

[Puppet Users] Puppet testing

2012-09-19 Thread Jason_s
Hi, It sounds like you would like to reduce some of the boilerplate code around your testing? I happened to notice this article you may find useful: http://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ best wishes, JS -- You received this message because you are subscribed

[Puppet Users] Re: Run Stages for Particular Modules

2012-09-17 Thread Jason_s
Hi I just tried reading the .dot files today into a graphing application and I found that very useful in visualising the graph of resources that is produced by a run on the agent. Good luck. It's not procedural, but declarative, hence a visual graph let's a person picture it better IMHO. http:

[Puppet Users] Right approach to Windows installers

2012-09-17 Thread Jason_s
Hi Puppeteers, I hope I can get you advice about the best way to approach using MSIs and other installers on Windows. Currently I am downloading Windows installers from the puppet master with the puppet:// syntax and the "file" type into a temporary directory c:\puppet_temp with subdirectories