Class: PoiseLanguages::Scl::Resource Private

Inherits:
Chef::Resource
  • Object
show all
Includes:
Poise
Defined in:
lib/poise_languages/scl/resource.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A ‘poise_language_scl` resource to manage installing a language from SCL packages. This is an internal implementation detail of poise-languages.

Since:

  • 1.0

Instance Attribute Summary collapse

Instance Attribute Details

#package_nameString

Name of the SCL package for the language.

Returns:

  • (String)


41
# File 'lib/poise_languages/scl/resource.rb', line 41

attribute(:package_name, kind_of: String, name_attribute: true)

#parentChef::Resource

Resource for the language runtime. Used only for messages.

Returns:

  • (Chef::Resource)


51
# File 'lib/poise_languages/scl/resource.rb', line 51

attribute(:parent, kind_of: Chef::Resource, required: true)

#urlString

URL to the SCL repository package for the language.

Returns:

  • (String)


46
# File 'lib/poise_languages/scl/resource.rb', line 46

attribute(:url, kind_of: String, required: true)