hostname appears in classes.txt

34 views
Skip to first unread message

mark bradley

unread,
Sep 12, 2013, 8:32:26 PM9/12/13
to puppet...@googlegroups.com
Although I have a node defined (puppet agent --test runs without error) the agent does not pick up files that it should be accessing and I've noticed that the hostname appears in classes.txt.

Does anyone have a notion of what's happening? Could it be that my node isn't being recognized as belonging to the class defined on the server?

Mark

Rahul Khengare

unread,
Sep 13, 2013, 9:11:31 AM9/13/13
to puppet...@googlegroups.com
Hi Mark,
   The classes.txt file contains all the classes which is to be executed on agent. It also contains hostname. So the hostname in classes.txt file is not a problem. 
Check out the classes present in your manifests which is to be apply on agent are present in classes.txt. If not present then you can run puppet agent as,

# puppet agent --test --loadclasses

Can you explain your problem in details like which file is not pick by puppet. Also give your manifests code. 

Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.

mark bradley

unread,
Sep 13, 2013, 9:31:15 AM9/13/13
to puppet...@googlegroups.com
Hi Rahul,

Thanks for the reply!

First of all, the problem is that the class that the node belongs to isn't being "realized" (that is, files that are installed on other nodes of that class aren't being installed on this problematic node).

Also, I cannot find the --loadclasses option in http://docs.puppetlabs.com/man/agent.html and the binary also complains .. can you expand on this?

Thanks,
Mark


--
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.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

mark bradley

unread,
Sep 13, 2013, 3:24:35 PM9/13/13
to puppet...@googlegroups.com
Hello Rahul, 

I've found the problem -- error on my part :(

Thanks for the suggestions anyway ..

Mark

Rahul Khengare

unread,
Sep 14, 2013, 6:22:16 AM9/14/13
to puppet...@googlegroups.com
Hello Mark,
can you post what is the problem you faced and how you solved, this
will be helpful for community... :)

Thanks and regards,
Rahul Khengare
NTT DATA OSS Center, pune, India.
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/2DbzVFVWAG8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

mark bradley

unread,
Sep 18, 2013, 8:38:31 AM9/18/13
to puppet...@googlegroups.com
Hi,

It was a problem with my script that updates the git repository. Embarrassingly, Puppet was doing the right thing, which was "do nothing".
Reply all
Reply to author
Forward
0 new messages