Private to you... I don't know why that wouldn't work. However, you might want to instead put "LS_GROUP=logstash" in the defaults file for that service. RedHat: /etc/sysconfig/elasticsearch Debian: /etc/default/elasticsearch
If you look, the init.d file sources that file early enough that the variable it set for the rest of the script. Tom On Sun, Apr 12, 2015 at 7:41 PM, Justin Rovang <thin...@gmail.com> wrote: > I've loosened my 'match' to something as simple as 'cheeseburger' to see if > it works, same error, I've tried moving match above 'line' too, and have > confirmed the file_line type exists (the error would be different in that > case anyway) > > > file_line { 'lsinitgroup': > ensure => present, > path => '/etc/init.d/logstash', > line => 'LS_GROUP=adm', > match => 'LS_GROUP=logstash' > } > > > Error: > > Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid > parameter match on File_line[lsinitgroup] at > /etc/puppet/modules/logging/manifests/logstash.pp:56 on node FOO.BAR > > What am I doing wrong? > > -- > 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/b3ab8308-95c9-42cd-aa86-ab91146529bb%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Email: t...@whatexit.org Work: tlimonce...@stackoverflow.com Skype: YesThatTom Blog: http://EverythingSysadmin.com -- 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/CAHVFxg%3DSZ_dA56JnCnrk21MZXE8MKGRNchFytSEwsdTCOBmH3g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.