Here are the steps I've taken to try and reproduce the issue you're
describing:

vagrant init ubuntu/trusty64
vagrant ssh
wget http://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb
sudo dpkg -i puppetlabs-release-pc1-trusty.deb
sudo apt-get update
sudo apt-get install puppet-agent -y
sudo /opt/puppetlabs/bin/puppet resource service puppet ensure=running
enable=true

When I run it, I get the following output:

Notice: /Service[puppet]/ensure: ensure changed 'stopped' to 'running'
service { 'puppet':
  ensure => 'running',
  enable => 'true',
}

I'd encourage you to try out vagrant to simplify troubleshooting -- it
really is just a matter of installing virtualbox, vagrant, and running
"vagrant init ubuntu/trusty64", "vagrant up" and "vagrant ssh" and you're
in a VM. It'll save hours compared to reprovisioning bare metal hardware.

Can you suggest any major configuration differences we might have between
the plain-vanilla ubuntu 14.04 vagrant environment and what you're running?

On Sun, Jun 28, 2015 at 4:00 PM, <[email protected]> wrote:

>   Unfortunately I’m not sophisticated enough to use Vagrant top of which
> I’m not installing in a VM. I’m using a cluster of 3 bare metal machines
> running Ubuntu 14.4. I’ve followed every step prescribed to the letter in
> this link:
> http://docs.puppetlabs.com/puppet/4.2/reference/install_linux.html
>
> What other information can I pass along?
>
>
> Adaryl "Bob" Wakefield, MBA
> Principal
> Mass Street Analytics, LLC
> 913.938.6685
> www.linkedin.com/in/bobwakefieldmba
> Twitter: @BobLovesData
>
>  *From:* Daniel Dreier <[email protected]>
> *Sent:* Sunday, June 28, 2015 5:52 PM
> *To:* [email protected]
> *Subject:* Re: [Puppet Users] puppet agent won't start
>
>   On Sun, Jun 28, 2015 at 3:15 PM, <[email protected]> wrote:
>
>>   When I go to start my puppet agent using:
>> sudo /opt/puppetlabs/bin/puppet resource service puppet ensure=running
>> enable=true.
>>
>> I get:
>>
>> sh: 0: getcwd() failed: No such file or directory
>>
>> When I try again, I discover that the /opt directory has magically
>> disappeared. Any ideas?
>>
>>
>
> I'd have an easier time trying to reproduce the problem if you include
> information on what platform you're running on, what version of puppet you
> installed, and any other setup steps you may have taken. Ideally, if you
> can reproduce this consistently via a shell script in a vagrant environment
> it'll be much easier to troubleshoot and you'll get faster feedback.
>
>
>
> --
>  Daniel Dreier
> Technical Operations Engineer
> GPG: BA4379FD
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CAGk8suY5XZ7b1dVf2Ap5Xv9%3DhDBgoQo2%2B%2BACRjqec-QjD00_Lg%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CAGk8suY5XZ7b1dVf2Ap5Xv9%3DhDBgoQo2%2B%2BACRjqec-QjD00_Lg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/658471AFB4DB4129A648119DD8F5E03D%40NewLaptop
> <https://groups.google.com/d/msgid/puppet-users/658471AFB4DB4129A648119DD8F5E03D%40NewLaptop?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel Dreier
Technical Operations Engineer
GPG: BA4379FD

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAGk8sua22r-%2BYDgmTX_VOF8zJzBKm9qrr%3DkH9rCNFK-xtEvKVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to