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

mcollective agent unable to find r10k binary #275

Closed
jessereynolds opened this issue May 11, 2016 · 3 comments
Closed

mcollective agent unable to find r10k binary #275

jessereynolds opened this issue May 11, 2016 · 3 comments

Comments

@jessereynolds
Copy link
Contributor

on RHEL 6.6 and with PE 2016.1.1 standalone installed, the r10k mcollective agent is unable to see the r10k binary in the PATH. You see this in the mcollective log:

E, [2016-05-10T22:37:28.412524 #7719] ERROR -- : r10k.rb:11:in `block in <class:R10k>' r10k binary not found in PATH

/usr/local/bin/r10k is present but /usr/local/bin is not in the mcollective agent's PATH when it's executing anymore (tested on a puppet-debugging-kit vm as well as on a hand built RHEL 6 server).

@jessereynolds
Copy link
Contributor Author

A workaround for this is to make another symlink for r10k at /usr/bin/r10k eg:

class profiles::r10k {

  class {'r10k::webhook::config':
    enable_ssl => false,
    protected  => false,
  }

  class {'r10k::webhook':
    require    => Class['r10k::webhook::config'],
  }

  include r10k::mcollective

  # refer https://github.com/acidprime/r10k/issues/275
  file {'r10k_symlink_usr_bin':
    ensure => link,
    path   => '/usr/bin/r10k',
    target => '/opt/puppetlabs/bin/r10k',
    owner  => 'root',
  }
}

@alexjfisher
Copy link
Member

Looks like a duplicate of https://github.com/acidprime/r10k/issues/273 ?

@rnelson0
Copy link
Sponsor Member

Confirmed duplicate.

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

3 participants