[Puppet Users] Re: Serving files from custom mount point in Puppet 4
Thanks Eric > This should be /etc/puppetlabs/code/files ... Oops, sorry for the noise Cheers Kashif On Monday, 11 January 2016 09:57:34 UTC, kashif wrote: > > Hi > > Is serving files from custom mount point depreciated in puppet 4? I > configured fileserver.conf file in same way as in puppet 3 but it is not > working. I could not find any explicit statement in puppet 4 documents > about custom mount points. Has any one managed to serve from custom mount > point in puppet 4? > > Thanks > > Kashif > > -- 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/7335706e-2c5d-459a-9a53-3419cd10a937%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: Serving files from custom mount point in Puppet 4
Hi Eric rpm -qa | grep puppet puppet-agent-1.3.2-1.el6.x86_64 puppetlabs-release-pc1-1.0.0-1.el6.noarch puppetserver-2.2.1-1.el6.noarch cat /etc/puppetlabs/puppet/fileserver.conf [site_files] path /etc/puppetlabs/codes/files allow * I haven't changed auth.conf file cat /etc/puppetlabs/puppetserver/conf.d/auth.conf { # Allow nodes to access all file services; this is necessary for # pluginsync, file serving from modules, and file serving from # custom mount points (see fileserver.conf). Note that the `/file` # prefix matches requests to file_metadata, file_content, and # file_bucket_file paths. match-request: { path: "/puppet/v3/file" type: path } allow: "*" sort-order: 500 name: "puppetlabs file" }, ... Test manifest file { '/root/puppet_test': source => "puppet:///site_files/puppet-test", ensure => present, } Error Puppet Not authorized to call find on /file_metadata/site_files/puppet-test with {:links=>"manage", :checksum_type=>"md5", :source_permissions=>"ignore", :rest=>"site_files/puppet-test" Thanks Kashif On Monday, 11 January 2016 17:38:41 UTC, Eric Sorenson wrote: > > It is not deprecated at all. > > Can you please post your configuration (fileserver.conf, auth.conf, and > the puppet manifest which causes the error) along with the exact error > messages? > > --eric0 > > On Monday, January 11, 2016 at 1:57:34 AM UTC-8, kashif wrote: >> >> Hi >> >> Is serving files from custom mount point depreciated in puppet 4? I >> configured fileserver.conf file in same way as in puppet 3 but it is not >> working. I could not find any explicit statement in puppet 4 documents >> about custom mount points. Has any one managed to serve from custom mount >> point in puppet 4? >> >> Thanks >> >> Kashif >> >> -- 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/1085f119-7e63-4a0c-a5e8-e1e235f168be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: Serving files from custom mount point in Puppet 4
It is not deprecated at all. Can you please post your configuration (fileserver.conf, auth.conf, and the puppet manifest which causes the error) along with the exact error messages? --eric0 On Monday, January 11, 2016 at 1:57:34 AM UTC-8, kashif wrote: > > Hi > > Is serving files from custom mount point depreciated in puppet 4? I > configured fileserver.conf file in same way as in puppet 3 but it is not > working. I could not find any explicit statement in puppet 4 documents > about custom mount points. Has any one managed to serve from custom mount > point in puppet 4? > > Thanks > > Kashif > > -- 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/52abb73e-2dd1-45f1-b974-761c24fbab85%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.