i'm trying to get into puppet and after some research for open source admin
interfaces i came across theforeman.
to see what is what i setup a new debian vm (7.5 wheezy) used the getting
started part on the foreman page and used the default settings with the
i watched the how2video on youtube
(http://www.youtube.com/watch?v=2dwyzPpFJYQ) and everything is working like
it is shown there.
the reason i'm looking into puppet and the foreman is that i want to use it
for software deployment, especially updatedeployment for a little tool we
so i wanted to manage an allready existing computer, running windows 7,
with theforeman gui/puppet.
prior to my theforeman installation, i did a test installation of just
puppet and where able to deploy files to the win7 vm. next logical step was
for me to get it into theforeman, i took the same aproach that worked with
puppet itself, i ran the windows puppetclient installer from the puppetlabs
website and expected to get it into my management interface from the
It did indeed show up as a new host, but it was marked with E for error and
checking the report showed the following errormessage:
Could not retrieve catalog from remote server: Error 400 on SERVER: Failed
when searching for node vmclient1.localdomain: Failed to find
vmclient1.localdomain via exec: Execution of '/etc/puppet/node.rb
vmclient1.localdomain' returned 1:
so i checked if the puppetmaster could resolve the hostname of the client,
ping it and if the client could so as well, turns out they do.
next item on my checklist where the file mentioned in the error message, i
did try to execute the node.rb with the above mentioned name
(vmclient1.localdomain) and the command return looked good.
owner_name: Admin User
i checked the permissions on the node.rb file, maybe something went wrong
there, so i changed it to everybody and left it with puppet/puppet as
owner/group as i was allready set up.
as for versions i used the puppetlabs repos for the foreman-installer which
installed puppet 3.6.2 for the puppetmaster and i used puppet 3.6.2 for the
windows client as well.
the next thing on my list was trying an older version, so i used the debian
repos for the foreman-installer which installed puppet 2.7.23 got the
windows client version 2.7.23 as well and the error message changed
"Could not retrieve catalog from remote server: Error 400 on SERVER: Could
not find node 'vmclient1.localdomain'; cannot compile."
I dont quiet understand where the error is located and what could go wrong?
fresh debian 7.5 wheezy install, followed the getting started, everything
on the server went as expected just the import of the windows client seems
to be a problem.
but why? how can you add windows clients? you get the puppetlabs windows
client and run it, i did, and since i didnt change anything it should at
least show up green in the foreman interface shouldnt it?
the whole process doesnt seem to be that complicated but i have no idea
where it goes down hill.
i'd be very happy to get some input, any tip is much appreciated