Sha256: e6cca2ed63fd3ca91b1fb5df2f17c04a718495c4a0cd1acb13a1a23e624f4d5e

Contents?: true

Size: 674 Bytes

Versions: 3

Compression:

Stored size: 674 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puppet-module-0.3.3 templates/generator/files/README.markdown
puppet-module-0.3.2 templates/generator/files/README.markdown
puppet-module-0.3.0 templates/generator/files/README.markdown