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

install rundeck from a local rpm #158

Open
ltutar opened this issue Nov 27, 2015 · 8 comments
Open

install rundeck from a local rpm #158

ltutar opened this issue Nov 27, 2015 · 8 comments

Comments

@ltutar
Copy link
Contributor

ltutar commented Nov 27, 2015

I would like to install rundeck from a local rpm. I could not find the way to to it in the puppet code. Is this possible and I am missing something?

@igalic
Copy link
Contributor

igalic commented Dec 3, 2015

there's an (undocumented!) package_source parameter, which you could use

@ltutar
Copy link
Contributor Author

ltutar commented Dec 4, 2015

I am installing Rundeck on CentOS 6. I read the following in install.pp

  case $::osfamily {
    'RedHat': {
      if $manage_yum_repo == true {
        yumrepo { 'bintray-rundeck':
          baseurl  => 'http://dl.bintray.com/rundeck/rundeck-rpm/',
          descr    => 'bintray rundeck repo',
          enabled  => '1',
          gpgcheck => '0',
          priority => '1',
          before   => Package['rundeck'],
        }
      }

      ensure_resource('package', 'rundeck', {'ensure' => $package_ensure, notify => Class['rundeck::service'] } )
      ensure_resource('package', 'rundeck-config', {'ensure' => $package_ensure, notify => Class['rundeck::service'] } )
    }

The parameter package_source has only entry for Debian.
Am I missing something?
baseurl parameter is only used in RedHat case and can not be overridden through yaml/params

@jyaworski
Copy link
Member

@ltutar it looks like install.pp needs a refactoring. Rundeck doesn't have an apt repo; just a bunch of .debs at http://dl.bintray.com/rundeck/rundeck-deb/

I'll look at this.

@jyaworski
Copy link
Member

@ltutar did you mean use a local yum repo, or installing from actual rpms? I'd be OK with a local yum repo.

However, if you do that why not set manage_repo to false and do it elsewhere?

@ltutar
Copy link
Contributor Author

ltutar commented Jan 22, 2016

actually both.

@jyaworski
Copy link
Member

@liamjbennett? I'm thinking we allow install from local rpm, but not manage a non-official repo.

@ltutar
Copy link
Contributor Author

ltutar commented Jan 22, 2016

That's ok with me. I am now using rundec-deps module to install the local rpm. This would help me get rid of this extra module.

@ltutar
Copy link
Contributor Author

ltutar commented Apr 7, 2016

Any plans on allowing the installation from a local rpm?

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