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

find returns code 1 #4

Description

@FrankVanDamme

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions