Hello, I'm new to puppet, I'm using maestrodev/wget to get some file to a folder I created.
file { $_some_path: ensure => directory, owner => $_some_owner, group => $_some_group, mode => '0644' } After I generate the directory y do this wget::fetch {"${source}/file.txt": destination => "${_some_path}/", user => "${source_user}", password => "${source_password}", timeout => 0, verbose => false, } When I go to see the permissions on the files I have this drwxr-xr-x 2 user1 user1 4096 Mar 10 18:44 . drwxr-xr-x 3 user1 user1 4096 Mar 10 18:44 .. -rw-r--r-- 1 root root 4562 Mar 10 17:15 file.txt Does anyone know how to set the right permission to the downloaded file. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f862a2bc-932e-4134-9087-dd03dcb3f79b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.