Problem when i try copy a directory with recurse

45 views
Skip to first unread message

Jorge Roberto Martínez Peñaranda

unread,
Mar 21, 2014, 8:31:12 AM3/21/14
to puppet...@googlegroups.com
Hi all,

I'm new with Puppet, i'm trying to copy a directory with recurse method but don't work, the Puppet server say this:

Info: Could not find filesystem info for file 'modules/vhost-balf/files/2.0' in environment balf
Info: Not Found: Could not find instances in file_metadata with 'modules/vhost-balf/files/2.0'
Info: Not Found: Could not find file_metadata modules/vhost-balf/files/2.0

i have this config in the class:

    file { "/var/www/vhost.com/html":
        ensure => "directory",
        owner  => "www-data",
        group  => "www-data",
        mode   => 755,
        source => "puppet:///modules/vhost-balf/files/2.0",
        recurse => true,
    }

If i use a custom file mount works, but i can use it because i'm using environments for nodes.

The version in server is 3.4.3-1puppetlabs1.

Thanks.

Jorge Roberto Martínez Peñaranda

unread,
Mar 21, 2014, 10:02:36 AM3/21/14
to puppet...@googlegroups.com
I found my own error, i need remove "files" from source path and now works.

Regards.
Reply all
Reply to author
Forward
0 new messages