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

Document how to change PE download url #16

Open
ryanycoleman opened this issue Sep 20, 2013 · 6 comments
Open

Document how to change PE download url #16

ryanycoleman opened this issue Sep 20, 2013 · 6 comments

Comments

@ryanycoleman
Copy link

I managed to get it working with this modification to config/pe_build.yaml


pe_build:
version: 3.0.0
download_root:

@razorsedge
Copy link

I had to set the URI as well otherwise vagrant up complained "no download source available".

---
pe_build:
  version: 3.2.0
  download_root: 'http://download-server/3.2.0'

@ToonMeynen
Copy link

Still can't get it to work.
I did
vagrant pe-build copy /Users/toon/Downloads/puppet-enterprise-3.7.2-el-6-x86_64.tar

pe_build.yaml

pe_build:
version: 3.7.2
download_root:

vms.yaml

vms:

  • name: master
    box: centos-64-x64-vbox4210-nocm
    roles:
    • pe-puppet-master
  • name: first
    box: centos-64-x64-vbox4210-nocm
    roles:
    • pe-puppet-agent
  • name: second
    box: centos-64-x64-vbox4210-nocm
    roles:
    • pe-puppet-agent

Output when I run vagrant up

`Cannot fetch installer puppet-enterprise-3.7.2-el-6-x86_64.tar.gz; no download source available.

Installers available for use:

  • puppet-enterprise-3.2.3-el-6-x86_64.tar.gz
  • puppet-enterprise-3.7.0-el-6-x86_64.tar.gz
  • puppet-enterprise-3.7.2-el-6-x86_64.tar
  • puppet-enterprise-3.7.2-el-7-x86_64.tar
    The Puppet Enterprise installer puppet-enterprise-3.7.2-el-6-x86_64.tar.gz
    is not available. Please set the download_root config option to a valid
    mirror, or add the installer yourself by using the vagrant pe-build copy
    command. Downloads for Puppet Enterprise are available for download at
    https://puppetlabs.com/puppet/puppet-enterprise/`

Any suggestions?

@ozbillwang
Copy link

I fix it by:

---
pe_build:
  version: 3.7.2
  download_root: https://s3.amazonaws.com/pe-builds/released/3.7.2

But have issue to set variable in yaml file as below

---
pe_build:
  version: 3.7.2
  download_root: <%= "https://s3.amazonaws.com/pe-builds/released/#{pe_buiold.version}" %>

or

---
pe_build:
  version: 3.7.2
  download_root:  https://s3.amazonaws.com/pe-builds/released/#{pe_buiold.version}

Any ideas to make it work as recommend in using YAML with variables

@arubdesu
Copy link

I did the recommended pe-build copy /path/to/downloadedPE command, and had to set the PE version in config/pe_builds.yaml to match the current one(3.7.2).

@razorsedge
Copy link

This works for me with the download happening during vagrant up:

pe_build:
  version: 3.8.0
  download_root: "https://s3.amazonaws.com/pe-builds/released/:version"

@TJM
Copy link

TJM commented Mar 2, 2016

if the configuration that @razorsedge posted above works, why isn't it in the default (init) templates?

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

No branches or pull requests

6 participants