[Puppet Users] Re: puppetlabs-splunk needs LOTS of usage examples

2015-07-29 Thread Vince Skahan
On Wednesday, July 29, 2015 at 6:44:30 AM UTC-7, Christina K. wrote: Hi Vince, To do that you will need to populate the https://github.com/puppetlabs/puppetlabs-splunk/blob/master/manifests/forwarder.pp forwarder_input parameter. The title won't matter so you can have 3 different

[Puppet Users] Complex edits on /etc/default/grub (Setting transparent_hugepage at boot time)

2015-07-29 Thread Tom Limoncelli
I need to disable transparent_hugepage at boot time (before some big services start up). This is on centos7 machines using SystemD. There are many ways to do this. It isn't clear which is the best/easiest way to do it via puppet. (Here is a list of ways to do it manually

Re: [Puppet Users] Windows basic file permission error on some computers

2015-07-29 Thread Rob Reynolds
On Tue, Jul 28, 2015 at 9:02 AM, jmp242 jp10...@gmail.com wrote: I'm using basic file permissions with puppet 3.8.1 on Windows 7 x64. I've got a resource: file { 'chocolatey.config': path= C:/ProgramData/chocolatey/config/chocolatey.config, content =

[Puppet Users] Re: Windows batch file execution

2015-07-29 Thread Dimitri Yioulos
Bob, I installed puppet-3.8.1-x64 on my 64-bit Win2k8 hosts. As you asked, I looked in the registry location, and saw StateFlags0100 REG_DWORD 0x0002 (2). That's what I'd expect. However, in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp

[Puppet Users] Re: Windows batch file execution

2015-07-29 Thread Dimitri Yioulos
Oops, apologies. I mean Rob. On Wednesday, July 29, 2015 at 3:48:50 PM UTC-4, Dimitri Yioulos wrote: Hello, all. I'm trying to execute the following batch file (sageset.bat) on Win2k8 servers: @ECHO OFF REM Enable components to cleanup REG ADD

[Puppet Users] Re: Windows batch file execution

2015-07-29 Thread Dimitri Yioulos
Peter, Thanks for the response. I understand about Windows and quoting. I've tried a number of quoting options, all with the same result. When I applied your suggestion about escaping the backslashes, then ran the manifest, here's what I got: Info: Caching catalog for

[Puppet Users] Re: Complex edits on /etc/default/grub (Setting transparent_hugepage at boot time)

2015-07-29 Thread Tom Limoncelli
Of course, minutes after emailing that I found the answer to my own question. If you install the augeasproviders_grub module ( https://github.com/hercules-team/augeasproviders_grub) then it becomes as simple as: kernel_parameter { 'transparent_hugepage': value = 'never', ensure =

Re: [Puppet Users] puppetlabs-splunk needs LOTS of usage examples

2015-07-29 Thread Vince Skahan
On Wednesday, July 29, 2015 at 12:28:58 PM UTC-7, Garrett Honeycutt wrote: Sandy, Thanks for sharing your code! Would you consider putting in on github or a similar place with a corresponding license. I was going to write up a quick set of example docs (with attribution to the real

Re: [Puppet Users] Re: Windows batch file execution

2015-07-29 Thread Rob Reynolds
On Wed, Jul 29, 2015 at 3:58 PM, Dimitri Yioulos dyiou...@gmail.com wrote: Peter, Thanks for the response. I understand about Windows and quoting. I've tried a number of quoting options, all with the same result. When I applied your suggestion about escaping the backslashes, then ran the

Re: [Puppet Users] Complex edits on /etc/default/grub (Setting transparent_hugepage at boot time)

2015-07-29 Thread Brad Knowles
On Jul 29, 2015, at 5:01 PM, Tom Limoncelli t...@whatexit.org wrote: The Augeas people never fail to impress! So long as you’re not trying to edit XML files with Augeas. That’s 80% of the way there, maybe even 90% of the way there. But that last 10-20% will drive you absolutely bloody

Re: [Puppet Users] Windows batch file execution

2015-07-29 Thread Peter Kristolaitis
If all your batch script does is tweak some registry settings, I would suggest ditching batch files entirely and use the puppetlabs-registry module instead. That said, it is likely that your script is not being executed at all because you need to escape backslashes in paths, e.g.

[Puppet Users] Windows batch file execution

2015-07-29 Thread Dimitri Yioulos
Hello, all. I'm trying to execute the following batch file (sageset.bat) on Win2k8 servers: @ECHO OFF REM Enable components to cleanup REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders /v StateFlags0100 /d 2 /t REG_DWORD /f REG ADD

[Puppet Users] Launchd service is unloaded instead of refreshing

2015-07-29 Thread Pascal Robert
Hi, We use Puppet for many things, including managing the Nagios client (NRPE) on OS X and Linux. I have a weird issue where on OS X, when Puppet should refresh the service because of a configuration file change, well it unload the service instead :-/ Relevant config: $nrpe_config_file =

Re: [Puppet Users] puppetlabs-splunk needs LOTS of usage examples

2015-07-29 Thread Garrett Honeycutt
On 7/28/15 1:15 PM, Sandor W. Sklar wrote: I had the same experience; I wound up rolling my own, because I just needed something simple that worked to set up the forwarder. I’ve attached it, maybe you’ll find it useful. - Sandy Sandy, Thanks for sharing your code! Would you consider

[Puppet Users] Troubles with AWS module and TXT record.

2015-07-29 Thread apopp
Hello friends, Having an issue with one of the aws modules I have created (dns) utilizing the puppet-labs aws module. I am using PE v 3.7 The DNS module is keeping some Route53 entries in line the module is run and several A records CNAME and txt records are validated. When it gets to this

Re: [Puppet Users] Re: Windows batch file execution

2015-07-29 Thread Rob Reynolds
On Wed, Jul 29, 2015 at 4:28 PM, Dimitri Yioulos dyiou...@gmail.com wrote: Bob, I installed puppet-3.8.1-x64 on my 64-bit Win2k8 hosts. As you asked, I looked in the registry location, and saw StateFlags0100 REG_DWORD 0x0002 (2). That's what I'd expect. However, in

[Puppet Users] Is there a way to deploy our configuration to agent.

2015-07-29 Thread Ayyanar
If you know the answer say Yes or No. Thanks, Ayyanar Thangaraj -- 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

[Puppet Users] Is there a way to deploy our configuration to agent.

2015-07-29 Thread Brendan Murtagh
Please go into more detail. Are you referring to changing the Puppet agent config on your nodes or something else? -- 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

[Puppet Users] Re: Is there a way to deploy our configuration to agent.

2015-07-29 Thread Ayyanar
On Wednesday, 29 July 2015 17:59:02 UTC+5:30, Brendan Murtagh wrote: Please go into more detail. Are you referring to changing the Puppet agent config on your nodes or something else? 1. I have two agent ip-10-109-189-241.ec2, ip-10-233-92-172.ec2.internal node. 2. I want to deploy my

[Puppet Users] Re: puppetlabs-splunk needs LOTS of usage examples

2015-07-29 Thread Christina Kyriakidou
Hi Vince, To do that you will need to populate the https://github.com/puppetlabs/puppetlabs-splunk/blob/master/manifests/forwarder.pp forwarder_input parameter. The title won't matter so you can have 3 different titles pointing to a splunkforwarder_input parameter section. Section is defined