What is the `file` URI scheme in Puppet? -
the documentation source
attribute file
resource type says:
the available uri schemes
puppet
,file
.puppet
uris ...
it explains puppet
uri scheme, doesn't file
uri scheme. it? mean assign "file://foo/bar/baz"
source
attribute on file
resource?
the file path absolute. refers file on system runs catalog. agent
system, or machine on invoke puppet apply
.
file { '/etc/motd': source => "file:///media/shared-storage0/motd/${fqdn}.motd"; }
for example, above resource make agent sync motd contents , file metadata shared storage.
you can omit file://
, use full path source.
source => "/media/shared-storage0/motd/${fqdn}.motd";
Django upload image to database
ReplyDeletePython Program to Check if a Number is Odd or Even
Python program to convert Celsius to Fahrenheit
How to create a PDF from a form using PHP
PHP pagination with sortable table on header click
Python Tkinter Frame Widget