]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/rabbitmq/files/README.markdown
move to puppetlabs rabbitmq module
[dsa-puppet.git] / 3rdparty / modules / rabbitmq / files / README.markdown
1 Files
2 =====
3
4 Puppet comes with both a client and server for copying files around. The file
5 serving function is provided as part of the central Puppet daemon,
6 puppetmasterd, and the client function is used through the source attribute of
7 file objects. Learn more at
8 http://projects.puppetlabs.com/projects/puppet/wiki/File_Serving_Configuration
9
10 You can use managed files like this:
11
12     class myclass {
13       package { mypackage: ensure => latest }
14       service { myservice: ensure => running }
15       file { "/etc/myfile":
16         source => "puppet://$servername/modules/mymodule/myfile"
17       }
18     }
19
20 The files are searched for in:
21
22     $modulepath/mymodule/files/myfile