Giter VIP home page Giter VIP logo

Comments (9)

ozbillwang avatar ozbillwang commented on September 24, 2024

@liamjbennett any options for this issue?

from puppet-rundeck.

liamjbennett avatar liamjbennett commented on September 24, 2024

The solution here is to re-implement the same download functionality that we have for Debian. It was there when I first wrote the module but then we moved to the package repo when I discovered its existence.

from puppet-rundeck.

ozbillwang avatar ozbillwang commented on September 24, 2024

@liamjbennett will we get update in redhat/centos for my issue?

from puppet-rundeck.

liamjbennett avatar liamjbennett commented on September 24, 2024

Yes, I will be working on this in the next day or so

from puppet-rundeck.

ozbillwang avatar ozbillwang commented on September 24, 2024

My system (centos) find the latest version

[root@rundeck log]# yum list |grep rundeck
rundeck.noarch                  2.5.0-1.6.GA    @bintray-rundeck
rundeck-config.noarch           2.5.0-1.6.GA    @bintray-rundeck
rundeck.noarch                  2.5.1-1.7.GA    bintray-rundeck
rundeck-config.noarch           2.5.1-1.7.GA    bintray-rundeck

I will work out the puppet code to get the nominate version 2.5.1-1.7.GA to be installed and raise a pull request.

Ta

from puppet-rundeck.

ozbillwang avatar ozbillwang commented on September 24, 2024

Finally I work it out. rundeck::package_version is useless for centos, so define the version in rundeck::package_ensure is enough.

rundeck::package_ensure: '2.5.1-1.7.GA'

And I got the updates:

Notice: /Stage[main]/Rundeck::Install/Package[rundeck]/ensure: ensure changed '2.5.0-1.6.GA' to '2.5.1-1.7.GA'

But rundeck-config is not updated, and rundeck service is not restarted automatically.

[root@rundeck log]# yum list installed |grep rundeck
rundeck.noarch              2.5.1-1.7.GA       @bintray-rundeck
rundeck-config.noarch       2.5.0-1.6.GA       @bintray-rundeck

from puppet-rundeck.

ozbillwang avatar ozbillwang commented on September 24, 2024

Fix the service is not restarted issue, will follow with a pull request.

Notice: /Stage[main]/Rundeck::Install/Package[rundeck]/ensure: ensure changed '2.5.0-1.6.GA' to '2.5.1-1.7.GA'
Info: /Stage[main]/Rundeck::Install/Package[rundeck]: Scheduling refresh of Class[Rundeck::Service]
Info: Class[Rundeck::Service]: Scheduling refresh of Service[rundeckd]
Notice: /Stage[main]/Rundeck::Service/Service[rundeckd]: Triggered 'refresh' from 1 events

Here is the change in manifests/install.pp

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

from puppet-rundeck.

ozbillwang avatar ozbillwang commented on September 24, 2024

commit cdd41e5 is raised to fix issue rundeck service is not restarted after upgraded in CentOS
commit 03e714d is raised to fix issue package rundeck_config is not upgraded to same version after rundeck is upgraded in CentOS

from puppet-rundeck.

ozbillwang avatar ozbillwang commented on September 24, 2024

Pull request is #69

Please review and merge it. I am waiting the new rundeck release 2.5.1 to be upgraded in our system and depend on this change.

Thanks a lot.

from puppet-rundeck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.