Skip to content

Extract Templates #20

@paulohtfs

Description

@paulohtfs

Reference to #12

The full list of attributes of Templates:

  • atomic_update TrueClass, FalseClass
  • backup FalseClass, Integer
  • cookbook String
  • force_unlink TrueClass, FalseClass
  • group String, Integer
  • helper(:method) Method { String }
  • helpers(module) Module
  • inherits TrueClass, FalseClass
  • local TrueClass, FalseClass
  • manage_symlink_source TrueClass, FalseClass, NilClass
  • mode String, Integer
  • notifies # runs other resource
  • owner String, Integer
  • path String # defaults to 'name' if not specified
  • provider Chef::Provider::File::Template
  • rights Hash
  • sensitive TrueClass, FalseClass
  • source String, Array
  • subscribes # runs other resource
  • variables Hash
  • verify String, Block
  • action Symbol # defaults to :create if not specified

The attribute path and source are necessary to complete the function.
The templates must be a dynamic file that has different content from environment to environment.
The recipe that Cupper is going to generate must contain the following attributes of Templates:

  • group String, Integer
  • mode String, Integer
  • owner String, Integer
  • variables Hash

As well, it must:

  • identify the content variant

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions