Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer download fails because install_cache_dir doesn't exist #309

Closed
EmersonPrado opened this issue Nov 22, 2023 · 0 comments · Fixed by #310
Closed

Installer download fails because install_cache_dir doesn't exist #309

EmersonPrado opened this issue Nov 22, 2023 · 0 comments · Fixed by #310

Comments

@EmersonPrado
Copy link
Contributor

EmersonPrado commented Nov 22, 2023

Affected Puppet, Ruby, OS and module versions/distributions

All

Test code

class { 'java':
  distribution => 'jre',
  before       => Class['wildfly'],
}
$ip_bind = $facts['networking']['interfaces']['eth1']['ip']
class { 'wildfly':
  distribution   => 'wildfly',
  version        => '8.0.0',
  properties     => {
    'jboss.bind.address'            => $ip_bind,
    'jboss.bind.address.management' => $ip_bind,
  },
  mgmt_user      => { username => 'name', password => 'pass' },
  java_home      => $java::params::java['jre']['java_home'],
  external_facts => true,
}

Results

Error: Could not set 'file' on ensure: No such file or directory
A directory component in /var/cache/wget/wildfly-8.0.0.Final.tar.gz20231122-12494-4u0ok6.lock does not exist or is a dangling symbolic link
(file: /tmp/vagrant-puppet/modules-6aa599ec01948f6c0445cc68d9a925f4/wildfly/manifests/install.pp, line: 11)

Expected results

Successful download

Additional information

Class wildfly::install has file ${wildfly::install_cache_dir}/${install_file}, but doesn't manage $wildfly::install_cache_dir directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants