You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@jenkinsagent .ssh]# pwd
/var/lib/jenkins/.ssh
[root@jenkinsagent .ssh]# ls -al
total 16
drwxr-xr-x. 2 jenkins jenkins 4096 Jun 13 11:01 .
drwxr-xr-x. 11 jenkins jenkins 4096 Jun 10 13:55 ..
-rw-r--r--. 1 jenkins jenkins 3239 Jun 10 13:52 id_rsa
-rw-r--r--. 1 jenkins jenkins 738 Jun 10 13:52 id_rsa.pub
[root@jenkinsagent .ssh]#
that I created with
ssh-keygen -t rsa -b 4096
When I run puppet agent for jenkins-1.651.2-1.1.noarch.rpm or jenkins-1.658-1.1.noarch.rpm, I also get the error:
Notice: /Stage[main]/Motd/File[/etc/motd]/content: content changed '{md5}3311e50be94448f561b4bde47ece3e94' to '{md5}fcb30103eca7d534640e3d55da76ce0b'
Notice: /Stage[main]/Jenkins_config::Config/Jenkins::Credentials[tutti]/Jenkins::Cli::Exec[create-jenkins-credentials-tutti]/Exec[create-jenkins-credentials-tutti]/returns: Authentication failed. No private key accepted.
Error: /usr/bin/java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://127.0.0.1:8080 -i /var/lib/jenkins/.ssh/id_rsa groovy /usr/lib/jenkins/puppet_helper.groovy create_or_update_credentials tutti 'frutti1' '3ab58aaf-5692-420b-b889-c6c5f337cf0b' 'gitblit user tutti - managed by Puppet' '' returned 255 instead of one of [0]
Error: /Stage[main]/Jenkins_config::Config/Jenkins::Credentials[tutti]/Jenkins::Cli::Exec[create-jenkins-credentials-tutti]/Exec[create-jenkins-credentials-tutti]/returns: change from notrun to 0 failed: /usr/bin/java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://127.0.0.1:8080 -i /var/lib/jenkins/.ssh/id_rsa groovy /usr/lib/jenkins/puppet_helper.groovy create_or_update_credentials tutti 'xebia1' '3ab58aaf-5692-420b-b889-c6c5f337cf0b' 'gitblit user tutti - managed by Puppet' '' returned 255 instead of one of [0]
I have the following yaml and #352 did not help me.
and the following keys:
that I created with
When I run puppet agent for jenkins-1.651.2-1.1.noarch.rpm or jenkins-1.658-1.1.noarch.rpm, I also get the error:
This is the resource that I call:
Java:
Would anybody help me point out what I am missing?
The text was updated successfully, but these errors were encountered: