BundleWrap
  • Quickstart
    • Installation
    • Create a repository
    • Run a command
    • Create a bundle
    • Create a file template
    • Apply configuration
    • Further reading
  • Installation
    • Using pip
    • From git
  • Requirements for managed systems
  • Repository reference
    • nodes.py
      • Introduction
      • Dynamic node list
      • Node attribute reference
        • bundles
        • hostname
        • metadata
        • password
        • use_shadow_passwords
    • groups.py
      • Introduction
      • Group attribute reference
        • bundles
        • member_patterns
        • members
        • metadata
        • metadata_processors
        • password
        • subgroups
    • Bundles
      • Actions
        • Attribute reference
      • Directory items
        • Attribute reference
      • File items
        • Writing file templates
        • Attribute reference
      • Group items
        • Attribute reference
      • APT package items
        • Attribute reference
      • Pacman package items
        • Attribute reference
      • pip package items
        • Attribute reference
      • yum package items
        • Attribute reference
      • zypper package items
        • Attribute reference
      • Postgres database items
        • Attribute reference
      • Postgres role items
        • Attribute reference
      • Upstart service items
        • Attribute reference
        • Canned actions
      • systemd service items
        • Attribute reference
        • Canned actions
      • System V service items
        • Attribute reference
        • Canned actions
      • Symlink items
        • Attribute reference
      • User items
        • Attribute reference
      • Item types
      • Builtin attributes
        • needs
        • needed_by
        • triggers and triggered
        • preceded_by
        • unless
        • cascade_skip
      • Canned actions
      • Item generators
    • Hooks
      • Example
      • Functions
    • Custom item types
      • Step 1: Create an item module
      • Step 2: Define attributes
      • Step 3: Implement methods
    • Custom code
    • Plugins
      • Finding plugins
      • Installing plugins
      • Updating plugins
      • Removing a plugin
      • Writing your own
  • Command Line Interface
    • bw apply
    • bw run
    • bw nodes and bw groups
    • bw debug
    • bw plot
    • bw test
  • API
    • Example
    • Reference
  • Contributing
    • Submitting bug reports
    • Contributing code
    • Help
      • Writing your own plugins
        • Starting a new plugin
        • Updating an existing plugin
  • FAQ
    • Technical
      • BundleWrap says an item failed to apply, what do I do now?
      • What happens when two people start applying configuration to the same node?
      • How can I have BundleWrap reload my services after config changes?
      • Will BundleWrap keep track of package updates?
      • Is there a probing mechanism like Ohai?
      • Is there a way to remove any unmanaged files/directories in a directory?
      • Is there any integration with my favorite Cloud?
      • Is BundleWrap secure?
    • The BundleWrap Project
      • Why do contributors have to sign a Copyright Assignment Agreement?
      • Isn’t this all very similar to Ansible?
  • Glossary
  • About
  • Alternatives
    • Ansible
    • BCFG2
    • Chef
 
BundleWrap
  • Docs »
  • Repository reference »
  • Bundles »
  • Symlink items
  • Edit on GitHub

Symlink items¶

symlinks = {
    "/some/symlink": {
        "group": "root",
        "owner": "root",
        "target": "/target/file",
    },
}

Attribute reference¶

See also

The list of generic builtin item attributes

Required attributes¶

target¶

File or directory this symlink points to. This attribute is required.

Optional attributes¶

group¶

Name of the group this symlink belongs to. Defaults to root. Defaults to None (don’t care about group).

owner¶

Username of the symlink’s owner. Defaults to root. Defaults to None (don’t care about owner).

Next Previous

Read the Docs v: 1.5.0
Versions
latest
stable
1.5.0
1.4.0
1.3.0
1.2.2
1.1.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.