[Puppet Users] OS X - puppet resource user username returns error

2014-08-04 Thread Lars Cromley
Hey everyone, I have a few machines, about 8 out of 60 or so machines that have issues modifying a user. The machines are running 10.9.4 and have always been on 10.9+, puppet version 3.6.2, and facter 2.1.0 When I attempt to run puppet resource user *username:* Host1:~ root# puppet resource

Re: [Puppet Users] Set ACLs on Files Logstash Must Monitor

2014-08-04 Thread Rob Reynolds
On Mon, Aug 4, 2014 at 6:36 AM, Brian Wilkins wrote: > Rather than typing out hundreds of files that logstash has to monitor and > put it into my profiles::logstash::acl class, how are others maintaining > the actions to set the ACLs on files that logstash has to monitor? Right > now, I am doing

Re: [Puppet Users] Re: custom function to read inifile

2014-08-04 Thread Ritesh Nanda
Sorry for the question it worked , it was a typo . On Mon, Aug 4, 2014 at 12:15 PM, Ritesh Nanda wrote: > Hello , > > In this custom function i am trying to download a file and then parse it , > that works correctly , now i want the url value to be in a variable or > hiera and this custom funct

[Puppet Users] Re: custom function to read inifile

2014-08-04 Thread Ritesh Nanda
Hello , In this custom function i am trying to download a file and then parse it , that works correctly , now i want the url value to be in a variable or hiera and this custom function fetches that value from variable. Using lookupvar doesn't works . Below is the code and error. require_relativ

Re: [Puppet Users] Create and run .bat

2014-08-04 Thread Neil
Hi You have interchanged / and \\ Btw I'd put any name you repeat in a variable to avoid this sort of thing. Also this looks like something you might like to do a lot so turn it into a define you can reuse. Cheers Neil On 4 Aug 2014 17:15, "Martin Hátaš" wrote: > Hi, I´m new in puppet and i

[Puppet Users] Create and run .bat

2014-08-04 Thread Martin Hátaš
Hi, I´m new in puppet and iam trying just copy .bat file from pupet server (which works fine) and then run it. My code is: file { "c:\\install\\interactive\\install-silent.bat": source_permissions => ignore, content => template('interactive_9_4_7/install-si

Re: [Puppet Users] Set ACLs on Files Logstash Must Monitor

2014-08-04 Thread Christopher Wood
I haven't done it, but in your situation I would do something generically like this: ls | create_yaml_array.rb >/path/to/hiera/nodes/myserver.yaml --- cats: concat1: bits: - bit1 - bit2 - bit3 path: '/path/to/file1' Then add a define somewhere to use with create

[Puppet Users] Re: Dashboard can't find classes

2014-08-04 Thread Stella
Stefan, thank you again for the reply. Now I know where to go ahead. I will give the Mcollective command line and webgui a try. Will let you know how it works. Thanks! On Friday, August 1, 2014 5:42:53 PM UTC-4, Stefan Heijmans wrote: > > Hi Stella, > > 1. No, I don't think so but perharps ask

[Puppet Users] Apt-mirror support on puppetlabs-apt

2014-08-04 Thread harish kumar
Hey Guys, puppetlabs-apt doesnt have apt- mirror support as of now. I believe it should have the support. The code should take apt global and repository configuration and configure apt-mirror, and optionally create cron schedules. Comments? Thanks, Harish -- You received this message beca

[Puppet Users] Set ACLs on Files Logstash Must Monitor

2014-08-04 Thread Brian Wilkins
Rather than typing out hundreds of files that logstash has to monitor and put it into my profiles::logstash::acl class, how are others maintaining the actions to set the ACLs on files that logstash has to monitor? Right now, I am doing this for every file that logstash has to monitor: exec { 'a