Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pattern error Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Syntax error at '/' at /etc/puppetlabs/code/environments/ci/modules/cron/types/minute.pp:4:11 on node #72

Open
thatsk opened this issue Jun 17, 2019 · 2 comments

Comments

@thatsk
Copy link

thatsk commented Jun 17, 2019

How to reproduce (e.g Puppet code you use)

What are you seeing

cron::job:
  'solrbackup':
    command: 'curl "http://node:8983/solr/admin/collections?action=BACKUP&name=solr-collection-`date +\%Y\%m\%d-\%H\%M`&collection=solr-collection&location=/var/solr/backups"'
    minute: '*/10'
    hour: '*'
    date: '*'
    month: '*'
    weekday: '*'
    user: solr
    description: "solr-collection backup"

What behaviour did you expect instead

it should add cron

Output log

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Syntax error at '/' at /etc/puppetlabs/code/environments/production/modules/cron/types/hour.pp:4:11 on node 
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
@ashish1099
Copy link

any update ?

@b4ldr
Copy link
Member

b4ldr commented Jun 27, 2019

@ashish1099 please let us know

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet:
  • Ruby:
  • Distribution:
  • Module version:

also please past a copy of /etc/puppetlabs/code/environments/production/modules/cron/types/hour.ppfrom your puppet master

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

No branches or pull requests

3 participants