Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392404
README.markdown
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
674 B
Subscribers
None
README.markdown
View Options
Files
=====
Puppet comes with both a client and server for copying files around. The file
serving function is provided as part of the central Puppet daemon,
puppetmasterd, and the client function is used through the source attribute of
file objects. Learn more at
http://projects.puppetlabs.com/projects/puppet/wiki/File_Serving_Configuration
You can use managed files like this:
class myclass {
package { mypackage: ensure => latest }
service { myservice: ensure => running }
file { "/etc/myfile":
source => "puppet://$servername/modules/mymodule/myfile"
}
}
The files are searched for in:
$modulepath/mymodule/files/myfile
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 6:58 PM (10 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3248702
Attached To
R198 puppet-puppet-rabbitmq
Event Timeline
Log In to Comment