lelutin / puppet-fail2ban

Manage fail2ban and its jails with puppet
GNU General Public License v3.0
8 stars 31 forks source link

Build 'amazon-ebs' errored: Error uploading modules: lstat /vagrant: no such file or directory #45

Closed nbrys closed 3 years ago

nbrys commented 3 years ago

When using packer to build an AWS AMI, we encountered the following error:

amazon-ebs: Uploading local modules from: puppet/modules amazon-ebs: Creating directory: /tmp/packer-puppet-masterless/module-0 ==> amazon-ebs: Provisioning step had errors: Running the cleanup provisioner, if present... ==> amazon-ebs: Terminating the source AWS instance... ==> amazon-ebs: Cleaning up any extra volumes... ==> amazon-ebs: Destroying volume (vol-04c4a1e244b65a1fe)... ==> amazon-ebs: Deleting temporary keypair... Build 'amazon-ebs' errored: Error uploading modules: lstat /vagrant: no such file or directory

In this module/test/modules/fail2ban points to /vagrant/ which is invalid

nbrys commented 3 years ago

Created PR for this: https://github.com/lelutin/puppet-fail2ban/pull/46

lelutin commented 3 years ago

I've merged #46 so I guess we can close this as well.