Types

class cfd.types.CFDFile(path, content, ensure=True, mode=None)[source]

CFDFile is a CFD type that will place a file on the hosts, to which it is assigned.

Example:

CFDFile("/etc/motd", content="Welcome to the server", ensure=True)
class cfd_package.types.CFDPackage(package_name, ensure=True, package_manager=None, version=None)[source]

CFDPackage is a generic type to describe a package to be installed on system using a package manager registered in the package manager registry.

Example:

CFDPackage("nginx", ensure=True, package_manager='apt-get', version='1.0')

Previous topic

Tutorial

Next topic

Settings

This Page