File Recurse Error?

18 views
Skip to first unread message

Mark McFate

unread,
May 30, 2014, 12:16:53 PM5/30/14
to puppet...@googlegroups.com
I've introduced the following code into one of my working manifests, and am now returning an error that I don't understand at all.  I've searched the web for a similar instance of this error but found none that seem relevant.  

The code is...

  ## Roll in the entire theme folder.
  file { "${drupal_path}/sites/default/themes/DG" :
    source  => "puppet://modules/digital-grinnell/DG",
    recurse => true,
    recurselimit => 3,
    require => File[ "${drupal_path}/sites/default/themes" ],
  }

The error returned is:  Failed to generate additional resources using 'eval_generate': getaddrinfo: Name or service not known.

The source resource (a directory) does exist and if I bring it into the server via FTP it behaves as expected; however, I can't get Puppet (using this with Vagrant) to populate the server directory for me.

I'm going to try bringing in one or two of the individual files to see if that works or not, but there are dozens of files involved so I can't possibly rely on that approach going forward.  

Thanks in advance for any assist.

-Mark

Felix Frank

unread,
May 30, 2014, 12:18:54 PM5/30/14
to puppet...@googlegroups.com
Hi,

On 05/30/2014 06:16 PM, Mark McFate wrote:
> The error returned is: Failed to generate additional resources using
> 'eval_generate': getaddrinfo: Name or service not known.

you're in luck - 'modules' does not resolve to an actual machine's
address in your environment.

You lack one / in your URL - it's puppet:/// rather than puppet://.

HTH,
Felix

Mark McFate

unread,
May 30, 2014, 12:32:57 PM5/30/14
to puppet...@googlegroups.com
Thank you Felix!  You saved the day.  As usual, I did a cut/paste to build this portion of my manifest.  I have no idea how that / got removed, and since this was my first use of recurse I just assumed I was doing it wrong.

Thanks again.  Take care.

-Mark
Reply all
Reply to author
Forward
0 new messages