On Oct 22, 2:33 pm, haris <[email protected]> wrote:
> Dear all,
>
> I am stuck with a problem while playing with Puppet 0.24.8.
> when i run client daemon it gives following error: "Could not retrieve
> catalog: Could not parse for environment production: Could not match
> '#' at /etc/puppet/manifests/site.pp:2"
>
> the things i am doing;
>
>  ==== nodes.pp ====
>
> # /etc/puppet/manifest/nodes.pp
>
> node testsystem {
>         include puptest}
>
> node 'client.domainname.com' inherits testsystem {
>
> }
>
> === site.pp ===
>
> # "/etc/puppet/manifest/site.pp"
>
> # import "modules"
> import "nodes"
> import "classes/*"
>
> filebucket {  main: server => 'server.domainname.com' }
>
> # The filebucket option allows for the file backups to the server
> File { backup => main }
> # Set global defaults - including backing up all files to the main
> filebuckets and adds a global path
> Exec { path => "/usr/bin:/usr/sbin:/bin:/sbin" }
>
> # abcd
>
> === puptest.pp ====
> class puptest {
>         file { "/etc/puptest":
>                 owner => "nobody",
>                 group => "nobody",
>                 mode => 677,
>         }
>
> }
>
> The Error Msg I am receiving is:
>
> error: "Could not retrieve catalog: Could not parse for environment
> production: Could not match '#' at /etc/puppet/manifests/site.pp"
>
> could anyone please help!

I putted a space in every line and the above error is not coming up
anymore but now it gives following error:


err: Could not retrieve catalog: Could not parse for environment
production: Could not match '
 ' at /etc/puppet/manifests/site.pp:2


What a strange problem???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to