Steps to trigger puppet agent from jenkins

0 votes

Hi Team,
Please help me to understand and also give steps how to trigger puppet agent from jenkins.

Dec 13, 2018 in Puppet by Hannah
• 14,080 points

1 answer to this question.

0 votes

Heyy @Hannah, 

  • First, you need to create Jenkins slave, make sure puppet agent has to be installed in that slave.
  • create new freestyle project in Jenkins.
  • In the configure page, mention that slave
  • In the build step, Execute Shell option, you can put the puppet command over there:
  • sudo /opt/puppetlabs/bin/puppet agent -t
  • Hope that helps!
answered Dec 16, 2018 by Kiyara

Related Questions In Puppet

0 votes
0 answers
0 votes
1 answer

How does Puppet apply configuration to agent nodes?

Puppet follows this workflow: There is a factor ...READ MORE

answered Mar 8 in Puppet by Veena
0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12 in Puppet by Jason
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 26, 2018 in Puppet by shubham
• 6,870 points
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Jenkins on AWS - unable to launch jenkins URL

Looks like you are able to login ...READ MORE

answered Dec 16, 2018 in Puppet by Kiyara