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

#dev_packageString?

Name of the -devel package with headers and whatnot.

Returns:

  • (String, nil)


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

attribute(:dev_package, kind_of: [String, NilClass])

#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)


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

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

#versionString?

Version of the SCL package(s) to install. If unset, follows the same semantics as the core ‘package` resource.

Returns:

  • (String, nil)


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

attribute(:version, kind_of: [String, NilClass])