Sam
2014-Mar-25 09:02 UTC
[Puppet Users] Getting an error when trying to apply manifest locally on windows
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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6bd4540e-9f85-4328-836f-afaf0ae58756%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.