Peter,

To allow us to be more helpful, it would be great if you could include
which version of puppet you are installing and from where. From the problem
you describe, I imagine you are installing from debian or ubuntu.

They include 2 files in their package /etc/puppet/etckeeper-commit-pre
and /etc/puppet/etckeeper-commit-post that are referenced in the
puppet.conf that ships with the package. It looks like etckeeper is
designed to allow someone to version control the etc directory (
https://joeyh.name/code/etckeeper/). The error you're seeing indicates that
the file doesn't exist, so there are 2 options to resolve it.

1. Edit /etc/puppet/puppet.conf to remove or disable the prerun_command and
postrun_command settings.
2. Reinstall the package to try to get the etckeeper-commit-post file back
(this assumes you are using the debian/ubuntu puppet packages)

Another option would be to use the Puppet Labs' apt repositories instead of
debian/ubuntu. We don't ship with those settings on by default in our
packages.

HTH

On Fri, Feb 5, 2016 at 8:18 AM, Peter Berghold <salty.cowd...@gmail.com>
wrote:

> First a disclaimer:   I am trying to provide support for our production
> team setting up a system as a Puppet agent node and most of the work I'm
> doing is being handled with the operations team acting as my voice operated
> keyboards.
>
>
> I handed my operations team instructions on how to install a Puppet client
> on some of our production boxes.  One such box when running the agent for
> the first time issues the following error and the run fails:
>
> "Error: Could not run command from postrun_command: Execution of
> '/etc/puppet/etckeeper-commit-post' retur ned 1: Error: Could not execute
> posix command: No such file or directory -
> /etc/puppet/etckeeper-commit-post"
>
> Never saw this error before and I'm quite baffled by it.  Where is this
> coming from and what is Puppet trying to tell me?
>
>
> Thanks in advance.
>
> --
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CAArvnv2zJrNqO_W3wgeAjWiFmJ%3D%2BJzyohg_is4SQ1_SU153%2BoA%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CAArvnv2zJrNqO_W3wgeAjWiFmJ%3D%2BJzyohg_is4SQ1_SU153%2BoA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matthaus Owens
Puppet Labs

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CACD%3DwAekA%2BxkVk-doG3LAsaR%3D1moR2VMd-vk2oLYvU0kEtcJLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to