(replies inline) On Thu, 29 Oct 2015, Wei Chen wrote:
> Hi,
>
> I created a job in Jenkins which will start the puppet agent with command:
> puppet agent -t
>
>
> Could not prepare for execution: Got 1 failure(s) while initializing: change
> from absent to directory failed: Cannot create /home/jenkins/.puppet; parent
> directory /home/jenkins does not exist
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
This looks to me to definitely be a Puppet code problem, since the following
code will not recursively create a directory:
file { '/foo/bar': ensure => directory; }
- R. Tyler Croy
------------------------------------------------------
Code: <https://github.com/rtyler>
Chatter: <https://twitter.com/agentdero>
% gpg --keyserver keys.gnupg.net --recv-key 3F51E16F
------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"Jenkins 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/jenkinsci-users/20151029140349.GC2450%40blackberry.coupleofllamas.com.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature
