Error: Could not find init script for 'puppet' - Puppet error

0 votes

I'm trying to install puppet agent in docker.

I've executed this

wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
dpkg -i puppet5-release-xenial.deb
apt update
apt-get install puppet-agent
/opt/puppetlabs/bin/puppet resource service puppet ensure=running enable=true

I get the following error:

Error: Could not find init script for 'puppet'
Error: /Service[puppet]/ensure: change from 'stopped' to 'running' failed: Could not find init script for 'puppet'
service { 'puppet':
  ensure => 'stopped',
  enable => 'false',
}
Mar 12 in Puppet by Vismaya
29 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
You need to be running your processes via an entrypoint or command option. systemd and other init processes are not installed by design. Basically, you should be running these commands through the container.

You are running it through the Bootstrap applications or maybe wrapper if I'm not wrong.
answered Mar 12 by Haider

Related Questions In Puppet

0 votes
1 answer
0 votes
1 answer

Ram requirements for puppet installation

4 GB would be less for proper ...READ MORE

answered Dec 19, 2018 in Puppet by Alan
14 views
0 votes
1 answer

Service already defines error in Puppet

Hey @Rohan, try this: class MyClass { ...READ MORE

answered Feb 9 in Puppet by Monish
18 views
0 votes
1 answer

Error while using newrelic class - Puppet

Hey @Harjot, The catalog compiler will look ...READ MORE

answered Feb 14 in Puppet by Ranjan
13 views
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,120 points
56 views
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.