Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 76a2ce46bd

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
plugins
themes
.htaccess
README.markdown
wordpress-3.3.1.zip
wordpress.conf

README.markdown

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
Something went wrong with that request. Please try again.