Ask Your Question


asked 2015-08-20 04:47:17 -0600

sudheesh gravatar image

Hi, Trying to get the files stored in Perforce(p4v) tool to the puppet master. As per the documentation on vcsrepo ( there commands to get the files from perforce but do we need to install any perforce related installation on the master puppet for this to work.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-21 06:42:32 -0600

sudheesh gravatar image

I was able to get the files from perforce to puppet AGENT. Did the following. in the agent node ; set P4PORT, P4PASSWD ,P4USER as env variables with proper values and run the configurations. I got an error saying "p4" is not identified, hence downloaded p4 executable from perforce site and put the same in the system path of agent and gave executable permission. Post that running puppet agent -t, gave error saying "P4: Perforce password (P4PASSWD) invalid or unset." Googled and as suggested tyoed "p4 login" in and enter the password of perforce user once. post that the everything went fine and the mentioned files in pp files of Master got moved from perforce to agent.

question still i have is: Is it possible to get the files from Perforce to Master directly to avoid installing p4 executable in all agent nodes. -- Currently the agent is reading the manifest files from master and executing it in agent . Is there anyway we can directly have the pp files/manifests in Master being executed at Master itself instead of going to agent and doing puppet agent -t.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-08-20 04:47:17 -0600

Seen: 221 times

Last updated: Aug 21 '15