• This is the first time i work on puppet
  • The puppet master is Linux version...

enter image description here

  • The puppet master host also install Puppet Foreman Server version 1.8.2

  • The puppet agent is Window version...

enter image description here

  • When install puppet agent, it has correctly point to the correct FQDN (fully qualified domain name) as i have checked this on foreman on this page.

enter image description here

  • Both agent and master use puppet version 3.8.1
  • This is the content in "/etc/puppet/manifests/site.pp". in the puppet master From what i understand is that this will make sure that the agent will contain folder "C:/packages" in the puppet agent

enter image description here


I understand that i can test running the puppet agent here without wait for the default waiting time 30 minutes

enter image description here

This is the result after it has finished.

enter image description here

However, I go to check in "C:/" and there is no folder "C:/packages" exists in there. I don't know what did i do wrong.


I found the solution already. Instead of putting the code

in "/etc/puppet/manifests/site.pp" I have to put it in "/etc/puppet/environments/production/manifests/nodes.pp" instead


By simply making a module on your puppet master does not mean it is applied to your hosts. You have in add the module to forman in the "puppet modules" page, then edit your host within forman and add the module.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.