Skip to content

Directories array #1

@DocEmmetBrown

Description

@DocEmmetBrown

Hi,
I've encountered a weird issue using the directory variable for the client.

if my array contains only one string ex : directories => [ '/' ],, I get an error on the backup server :

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template rsnapshot/config.erb:
  Filepath: /etc/puppet/modules/rsnapshot/templates/config.erb
  Line: 103
  Detail: undefined method `each' for "/":String
 at /etc/puppet/modules/rsnapshot/manifests/server/config.pp:165 on node online-backup-48.as2.io
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I managed to make it work with this syntax :

directories => [ [ '/']],

but it's pretty strange.

I'm running puppet client & master 3.8 on Debian Wheezy on all the machines.

Thanx a lot !

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