Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

find returns code 1 #4

Open
FrankVanDamme opened this issue Jun 1, 2017 · 1 comment
Open

find returns code 1 #4

FrankVanDamme opened this issue Jun 1, 2017 · 1 comment

Comments

@FrankVanDamme
Copy link

Trying to make it work on Puppet4. I changed $keymaster_storage and surrounded the mode in keymaster.pp by quotes, next problem is this, however:

2017-06-01 10:33:47,303 ERROR [qtp1637291203-71] [puppetserver] Puppet Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Failed to execute generator /usr/bin/find: Execution of '/usr/bin/find /opt/puppetlabs/puppet/cache/username@park/key ! -newermt ' returned 1: /usr/bin/find: `/opt/puppetlabs/puppet/cache/username@park/key': No such file or directory at /etc/puppetlabs/code/environments/test/modules/sshkeys/manifests/setup_key_master.pp:49:10 at /etc/puppetlabs/code/environments/test/modules/sshkeys/manifests/create_key.pp:21 on node fourstrings.vub.ac.be

the problem is that the key does not yet exists, has not been generated, and therefor the directory /opt/puppetlabs/puppet/cache/username@park/ has not yet been created.

@FrankVanDamme
Copy link
Author

FrankVanDamme commented Jun 1, 2017

pull request: #5
(also changes a directory path to something in Puppet 4)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant