I searched online for logstash module and ran the "puppet module install 
elasticsearch-logstash" command and since it installed the module without 
any issue, I thought that it should have been supported.I don't remember 
seeing the supported OS information. your question led me to do more 
research on this issue and you are probably right that the module I got is 
not supported on windows.

Thanks
Sam

On Thursday, March 27, 2014 12:37:28 AM UTC+5:30, Rob Reynolds wrote:
>
> Let's back up. Are you sure this module is supported on Windows?
>
>
> On Wed, Mar 26, 2014 at 12:36 AM, Sam <kaila...@gmail.com <javascript:>>wrote:
>
>> Please see the output of the command puppet apply init.pp --debug 
>> --verbose --trace below.
>>
>> C:/Info: Loading facts in 
>> C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/facter_dot_d.rb
>> C:/Info: Loading facts in 
>> C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/pe_version.rb
>> C:/Info: Loading facts in 
>> C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/puppet_vardir.rb
>> C:/Info: Loading facts in 
>> C:/ProgramData/PuppetLabs/puppet/etc/modules/stdlib/lib/facter/root_home.rb
>> Error: Could not parse for environment production: Syntax error at 
>> 'logstash' at 
>> C:/ProgramData/PuppetLabs/puppet/etc/modules/logstash/manifests/init.pp:87 
>> on node maa-lpe35022kd.fnfis.com
>> C:/puppet/puppet/lib/puppet/parser/parser_support.rb:148:in `on_error'
>> C:/puppet/puppet/lib/puppet/parser/lexer.rb:500:in `scan'
>> (eval):3:in `_racc_yyparse_c'
>> (eval):3:in `yyparse'
>> C:/puppet/puppet/lib/puppet/parser/parser_support.rb:159:in `parse'
>> C:/puppet/puppet/lib/puppet/node/environment.rb:447:in 
>> `perform_initial_import'
>> C:/puppet/puppet/lib/puppet/node/environment.rb:192:in 
>> `known_resource_types'
>> C:/puppet/puppet/lib/puppet/resource/type_collection_helper.rb:5:in 
>> `known_resource_types'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:478:in `initvars'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:215:in `initialize'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:23:in `new'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:23:in `compile'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:116:in `block 
>> (2 levels) in compile'
>> C:/puppet/puppet/lib/puppet/util/profiler/none.rb:6:in `profile'
>> C:/puppet/puppet/lib/puppet/util/profiler.rb:31:in `profile'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:114:in `block 
>> in compile'
>> C:/puppet/puppet/lib/puppet/util.rb:161:in `block in benchmark'
>> C:/puppet/sys/ruby/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
>> C:/puppet/puppet/lib/puppet/util.rb:160:in `benchmark'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:113:in 
>> `compile'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:46:in `find'
>> C:/puppet/puppet/lib/puppet/indirector/indirection.rb:201:in `find'
>> C:/puppet/puppet/lib/puppet/application/apply.rb:204:in `main'
>> C:/puppet/puppet/lib/puppet/application/apply.rb:146:in `run_command'
>> C:/puppet/puppet/lib/puppet/application.rb:364:in `block (2 levels) in 
>> run'
>> C:/puppet/puppet/lib/puppet/application.rb:470:in `plugin_hook'
>> C:/puppet/puppet/lib/puppet/application.rb:364:in `block in run'
>> C:/puppet/puppet/lib/puppet/util.rb:478:in `exit_on_fail'
>> C:/puppet/puppet/lib/puppet/application.rb:364:in `run'
>> C:/puppet/puppet/lib/puppet/util/command_line.rb:137:in `run'
>> C:/puppet/puppet/lib/puppet/util/command_line.rb:91:in `execute'
>> C:/puppet/puppet/bin/puppet:4:in `<main>'
>> Error: Could not parse for environment production: Syntax error at 
>> 'logstash' at C:/ProgramData/PuppetLabs/puppet/etc/modules/logst
>>
>> ash/manifests/init.pp:87 on node maa-lpe35022kd.fnfis.com
>> C:/puppet/puppet/lib/puppet/parser/parser_support.rb:148:in `on_error'
>> C:/puppet/puppet/lib/puppet/parser/lexer.rb:500:in `scan'
>> (eval):3:in `_racc_yyparse_c'
>> (eval):3:in `yyparse'
>> C:/puppet/puppet/lib/puppet/parser/parser_support.rb:159:in `parse'
>> C:/puppet/puppet/lib/puppet/node/environment.rb:447:in 
>> `perform_initial_import'
>> C:/puppet/puppet/lib/puppet/node/environment.rb:192:in 
>> `known_resource_types'
>> C:/puppet/puppet/lib/puppet/resource/type_collection_helper.rb:5:in 
>> `known_resource_types'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:478:in `initvars'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:215:in `initialize'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:23:in `new'
>> C:/puppet/puppet/lib/puppet/parser/compiler.rb:23:in `compile'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:116:in `block 
>> (2 levels) in compile'
>> C:/puppet/puppet/lib/puppet/util/profiler/none.rb:6:in `profile'
>> C:/puppet/puppet/lib/puppet/util/profiler.rb:31:in `profile'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:114:in `block 
>> in compile'
>> C:/puppet/puppet/lib/puppet/util.rb:161:in `block in benchmark'
>> C:/puppet/sys/ruby/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
>> C:/puppet/puppet/lib/puppet/util.rb:160:in `benchmark'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:113:in 
>> `compile'
>> C:/puppet/puppet/lib/puppet/indirector/catalog/compiler.rb:46:in `find'
>> C:/puppet/puppet/lib/puppet/indirector/indirection.rb:201:in `find'
>> C:/puppet/puppet/lib/puppet/application/apply.rb:204:in `main'
>> C:/puppet/puppet/lib/puppet/application/apply.rb:146:in `run_command'
>> C:/puppet/puppet/lib/puppet/application.rb:364:in `block (2 levels) in 
>> run'
>> C:/puppet/puppet/lib/puppet/application.rb:470:in `plugin_hook'
>> C:/puppet/puppet/lib/puppet/application.rb:364:in `block in run'
>> C:/puppet/puppet/lib/puppet/util.rb:478:in `exit_on_fail'
>> C:/puppet/puppet/lib/puppet/application.rb:364:in `run'
>> C:/puppet/puppet/lib/puppet/util/command_line.rb:137:in `run'
>> C:/puppet/puppet/lib/puppet/util/command_line.rb:91:in `execute'
>> C:/puppet/puppet/bin/puppet:4:in `<main>'
>>
>> Thanks
>> Sam
>>
>>
>> On Tuesday, March 25, 2014 2:32:12 PM UTC+5:30, Sam wrote:
>>>
>>> Hello,
>>>         I installed the elasticsearch-logstash module on my windows 7 
>>> laptop and when I try to apply the manifest locally to install logstash, I 
>>> am getting the following error.
>>>
>>> C:\ProgramData\PuppetLabs\puppet\etc\modules\logstash\manifests>puppet 
>>> apply init.pp
>>> Error: Could not find parent resource type 'logstash::params' of type 
>>> hostclass in production at C:/ProgramData/PuppetLabs/puppet/e
>>> tc/modules/logstash/manifests/init.pp:87 on node 
>>> maa-lpe35022kd.fnfis.com
>>> Error: Could not find parent resource type 'logstash::params' of type 
>>> hostclass in production at C:/ProgramData/PuppetLabs/puppet/e
>>> tc/modules/logstash/manifests/init.pp:87 on node 
>>> maa-lpe35022kd.fnfis.com
>>>
>>> Once I installed the module, I edited the init.pp and uncommented the 
>>> following line
>>>
>>> #   class { 'logstash': }
>>>
>>> and ran "puppet apply init.pp"
>>>
>>> I tried running with debug and verbose switches well and got the 
>>> following error
>>>
>>> Info: Loading facts in C:/ProgramData/PuppetLabs/
>>> puppet/etc/modules/stdlib/lib/facter/facter_dot_d.rb
>>> Info: Loading facts in C:/ProgramData/PuppetLabs/
>>> puppet/etc/modules/stdlib/lib/facter/pe_version.rb
>>> Info: Loading facts in C:/ProgramData/PuppetLabs/
>>> puppet/etc/modules/stdlib/lib/facter/puppet_vardir.rb
>>> Info: Loading facts in C:/ProgramData/PuppetLabs/
>>> puppet/etc/modules/stdlib/lib/facter/root_home.rb
>>> Error: Could not parse for environment production: Syntax error at end 
>>> of file at line 1 on node maa-lpe35022kd.fnfis.com
>>> Error: Could not parse for environment production: Syntax error at end 
>>> of file at line 1 on node maa-lpe35022kd.fnfis.com
>>>
>>> Puppet version is 3.4.3. 
>>>
>>> Any suggestions for resolving this issue?
>>>
>>> Thanks
>>> Sam
>>>
>>  -- 
>> 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...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/85e7dea3-52ba-4c85-8652-c2525c285a6f%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/85e7dea3-52ba-4c85-8652-c2525c285a6f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Rob Reynolds
> Developer, Puppet Labs
>
> *Join us at PuppetConf 2014, September 23-24 in San Francisco - *
> http://bit.ly/pupconf14
> Register now and save $350!
>  

-- 
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/9879750f-7534-4b72-94d9-c4e336536809%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to