Skip to content

Vagrant-r10k support for oscar #37

@tribou

Description

@tribou

Is there an easy way to integrate vagrant-r10k with oscar? Tried using the following in the config/roles.yaml:

---
roles:
  pe-puppet-master:
    r10k:
      puppet_dir: "puppet"
      puppetfile_path: "puppet/Puppetfile"
      module_path: "puppet/vendor"

Returns the following error on a vagrant up/provision:

master: vagrant-r10k: puppet_dir and/or puppetfile_path not set in config; not running

From vagrant debug:

 INFO warden: Calling IN action: #<VagrantPlugins::R10k::Modulegetter:0x0000000390bc28>
 INFO interface: detail: vagrant-r10k: puppet_dir and/or puppetfile_path not set in config; not running
 INFO interface: detail:     master: vagrant-r10k: puppet_dir and/or puppetfile_path not set in config; not running
    master: vagrant-r10k: puppet_dir and/or puppetfile_path not set in config; not running
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000390bc00>

It may be that the vagrant-config_builder is simply not pulling in the defined vagrant-r10k configs.

The goal is to use oscar with r10k to build out a local dev environment and enable local development and testing of locally stored puppet modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions