Skip to content

unable to resolve type 'byte when ensuring absent  #24

Description

@v1v

Hi,

I've tried different code snippets to see whether this module can remove env variables, but atm, it's getting 'unable to resolve type 'byte' over and over

Error: Could not set 'absent' on ensure: unable to resolve type 'byte' at 89:/etc/puppet/environments/ce_qt/modules/qt5/manifests/windows.pp

So, I've tried even with: https://github.com/voxpupuli/puppet-windows-env/blob/master/tests/init.pp#L73-L77 but still same issue.

Current setup:

  • puppet version: 3.6.2
  • ruby version: ruby 1.8.7 (2013-06-27 patchlevel 374) [i386-mingw32]
  • facter version: 2.0.2
  • OS: Windows 7

Further details:

Debug: Windows_env[REMOVEQTDIR](provider=windows_env): Removing value from environment variable 'QTDIR', or removing variable itself
Error: Could not set 'absent' on ensure: unable to resolve type 'byte' at 89:/etc/puppet/environments/ce_qt/modules/qt5/manifests/windows.pp
Error: Could not set 'absent' on ensure: unable to resolve type 'byte' at 89:/etc/puppet/environments/ce_qt/modules/qt5/manifests/windows.pp
Wrapped exception:
unable to resolve type 'byte'
Error: /Stage[main]/Qt5::Windows/Windows_env[REMOVEQTDIR]/ensure: change from present to absent failed: Could not set 'absent' on ensure: unable to resolve type 'byte' at 89:/etc/puppet/environments/ce_qt/modules/qt5/manifests/windows.pp

Any ideas what's going on?

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions