Provide Source Files


title: “Provide Source Files”
date: 2016-01-13T15:47:56
slug: provide-source-files


Add allow * to grant access right for all to the filestore
vi /etc/puppet/fileserver.conf

[files]
 path /etc/puppet/files
 allow \*

Copy the content of the provided file to the created file:

file { '/etc/apache2/sites-enabled/mysite':
 owner => root, group => root, mode => 0644,
 source => "puppet:///files/mysite/mysite\_apache.conf",
}
Print Friendly, PDF & Email