Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670118 - =app-admin/puppet-6.0.2 binaries do not support server mode
Summary: =app-admin/puppet-6.0.2 binaries do not support server mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 00:26 UTC by Matthew Marlowe (RETIRED)
Modified: 2018-11-03 00:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Marlowe (RETIRED) gentoo-dev 2018-11-02 00:26:58 UTC
Not sure if this is intended behavior...upstream gets confusing with their pushing the puppetserver binaries....but app-admin/puppet 5.5.6 produces both agent and server modes, but emerging puppet 6.0.2 creates a binary that is agent only.

Please advise.

[I] app-admin/puppet
     Available versions:  4.10.11^t ~4.10.12^t 5.5.3^t 5.5.6^t{tbz2} ~5.5.7^t (~)6.0.2^t{tbz2} {augeas diff doc emacs experimental ldap rrdtool selinux shadow sqlite test vim-syntax xemacs ELIBC="FreeBSD" RUBY_TARGETS="ruby23 ruby24 ruby25"}
     Installed versions:  6.0.2^t{tbz2}(04:56:31 PM 11/01/2018)(augeas diff doc rrdtool vim-syntax -emacs -ldap -selinux -shadow -sqlite -test ELIBC="-FreeBSD" RUBY_TARGETS="ruby23 ruby24 -ruby25")
     Homepage:            http://puppetlabs.com/
     Description:         A system automation and configuration management software.


atlas /usr/portage/app-admin/puppet # /etc/init.d/puppet restart
 * Stopping puppet ...                                                    [ ok ]
 * Starting puppetmaster ...
Error: Unknown Puppet subcommand 'master'
See 'puppet help' for help on available puppet subcommands
 * start-stop-daemon: failed to start `/usr/bin/puppet'
 * Failed to start puppetmaster                                           [ !! ]
 * ERROR: puppetmaster failed to start
 * Starting puppet ...


atlas /usr/portage/app-admin/puppet # puppet --help

Usage: puppet <subcommand> [options] <action> [options]

Available subcommands:

  Common:
    agent             The puppet agent daemon
    apply             Apply Puppet manifests locally
    config            Interact with Puppet's settings.
    help              Display Puppet help.
    lookup            Interactive Hiera lookup
    module            Creates, installs and searches for modules on the Puppet Forge.
    resource          The resource abstraction layer shell


  Specialized:
    catalog           Compile, save, view, and convert catalogs.
    describe          Display help about resource types
    device            Manage remote network devices
    doc               Generate Puppet references
    epp               Interact directly with the EPP template parser/renderer.
    facts             Retrieve and store facts.
    filebucket        Store and retrieve files in a filebucket
    generate          Generates Puppet code from Ruby definitions.
    node              View and manage node definitions.
    parser            Interact directly with the parser.
    script            Run a puppet manifests as a script without compiling a catalog
    ssl               Manage SSL keys and certificates for puppet SSL clients

See 'puppet help <subcommand> <action>' for help on a specific subcommand action.
See 'puppet help <subcommand>' for help on a specific subcommand.
Puppet v6.0.2
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-02 00:53:32 UTC
https://puppet.com/docs/puppet/6.0/release_notes.html

19:52 <        Iambchop > prometheanfire: Webrick support (previously deprecated) has been removed. To run Puppet as a server you must use puppetserver. (PUP-8591)

so ya, looks like I need to remove init scripts. and make another note
Comment 2 Matthew Marlowe (RETIRED) gentoo-dev 2018-11-02 01:33:56 UTC
Yes, researched the puppet 6.0 release notes....
https://tickets.puppetlabs.com/browse/PUP-8591
https://puppet.com/docs/puppet/6.0/release_notes.html

Looks like the ripped out a lot of frequently used modules into development kit too, all the CA management stuff, and the webrick server mode.

So, the separate puppet-agent and puppet-server packages are more packaged binaries rather than source, correct?

I'm not sure how to get the full functionality of the open-source puppet 5.0 packages at this point without using pre-packaged binaries...

Have a new puppet server going online, I'm tempted to just stick with puppet 5.x for time being.
Comment 3 Larry the Git Cow gentoo-dev 2018-11-02 02:36:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aebebe63403f65f997b0c2e5e0d1f7b5eb2de21

commit 0aebebe63403f65f997b0c2e5e0d1f7b5eb2de21
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2018-11-02 02:33:57 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2018-11-02 02:36:28 +0000

    app-admin/puppet: 5.5.8 and 6.0.4 bump
    
    puppet master / server was removed in 6.x :(
    
    Fixes: https://bugs.gentoo.org/670118
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-admin/puppet/Manifest                          |   2 +
 .../{puppet-6.0.2.ebuild => puppet-5.5.8.ebuild}   |  10 +-
 app-admin/puppet/puppet-6.0.2-r1.ebuild            | 138 +++++++++++++++++++++
 app-admin/puppet/puppet-6.0.4.ebuild               | 138 +++++++++++++++++++++
 4 files changed, 283 insertions(+), 5 deletions(-)
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-02 02:37:08 UTC
Ya, sounds like puppetsdk would be needed for further usage.
Comment 5 Matthew Marlowe (RETIRED) gentoo-dev 2018-11-02 22:50:16 UTC
while checking bugs for anything puppet related, I noticed a number of new upstream packages are maintainer needed or not in tree yet.....Do you have  plan? do you need help?  Which ones are compatible philosophy wise with gentoo and which aren't really needed? I'm returning back into development and have some time, especially if it help with stuff I have to deal with anyway :)
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-11-03 00:11:06 UTC
Ya, more help on puppet would definitely be nice.  If you want to package any of the upstream packages let me know.  The main two that I think would be best are bolt and puppet-sdk