diff options
author | Saz <me@saz.sh> | 2011-11-07 18:36:31 +0100 |
---|---|---|
committer | Saz <me@saz.sh> | 2011-11-07 18:36:31 +0100 |
commit | 7c77a722a783adfb80e640392018e0fe5dd987d8 (patch) | |
tree | c10dde4f0c6468a87dd1174edf9aa7dd8624aad0 /files/README.markdown | |
download | puppet-pureftpd-7c77a722a783adfb80e640392018e0fe5dd987d8.tar.gz puppet-pureftpd-7c77a722a783adfb80e640392018e0fe5dd987d8.tar.bz2 |
initial release
Diffstat (limited to 'files/README.markdown')
-rw-r--r-- | files/README.markdown | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/files/README.markdown b/files/README.markdown new file mode 100644 index 0000000..be52188 --- /dev/null +++ b/files/README.markdown @@ -0,0 +1,22 @@ +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 |