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

Directories array #1

Open
DocEmmetBrown opened this issue Sep 16, 2015 · 3 comments
Open

Directories array #1

DocEmmetBrown opened this issue Sep 16, 2015 · 3 comments

Comments

@DocEmmetBrown
Copy link

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 !

@tedivm
Copy link
Owner

tedivm commented Sep 16, 2015

I've noticed you have a fork already- if you issue a pull request I'll happily take a look. Otherwise it'll probably be a couple of weeks, as I just got back from an extended trip and am still catching up on things.

Regardless, thanks for the bug report! I hope you're enjoying this module.

@DocEmmetBrown
Copy link
Author

Hi Robert,

yep, I forked, and I will submit pull requests when I think I have a clean code :)

A missed a few features (like being able to change backup directory on a client basis, and a few others.

I'll try to implement them cleanly, and get back to you !

Thanx for your work, It's a great puppet module !

@tedivm
Copy link
Owner

tedivm commented Jan 15, 2016

@DocEmmetBrown still planning a pull request?

tedivm pushed a commit that referenced this issue Nov 3, 2017
allow concat module version up to 3.0.0
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

2 participants