Jira (PUP-10320) Secondary group handling causing issues in 6.13.0
Title: Message Title Robert Brooks commented on PUP-10320 Re: Secondary group handling causing issues in 6.13.0 Ciprian Badescu I can confirm 6.13.0 with your patch applied no longer exhibits the issue shown above. Many thanks! Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.347941.1582919251000.4642.1583353860028%40Atlassian.JIRA.
Jira (PUP-10320) Secondary group handling causing issues in 6.13.0
Title: Message Title Robert Brooks commented on PUP-10320 Re: Secondary group handling causing issues in 6.13.0 Ciprian Badescu is a patched package available? Github doesn't seem to want to give me a diff/patch. I can provide the manifest privately, but it does a lot of things and I would need to anonymize users etc. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.347941.1582919251000.4219.1583347560163%40Atlassian.JIRA.
Jira (PUP-10320) Secondary group handling causing issues in 6.13.0
Title: Message Title Robert Brooks commented on PUP-10320 Re: Secondary group handling causing issues in 6.13.0 https://tickets.puppetlabs.com/browse/MODULES-10574 seems to be related. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.347941.1582919251000.676.1582930920023%40Atlassian.JIRA.
Jira (PUP-10320) Secondary group handling causing issues in 6.13.0
Title: Message Title Robert Brooks updated an issue Puppet / PUP-10320 Secondary group handling causing issues in 6.13.0 Change By: Robert Brooks *Puppet Version: 6.13.0* *Puppet Server Version: 6.9.0-1.el7* *OS Name/Version: Centos 7*Issues with managing users, groups and secondary groups with 6.13.0, issue is not present in 6.12.0.*Desired Behavior:* {{Info: Applying configuration version '1582911791'}}{{Notice: /Stage[main]/Users::Users/Users::Local_user[ pcowger jsmith ]/Accounts::User[jsmith]/Group[jsmith]/ensure: created}}{{Notice: /Stage[main]/Users::Users/Users::Local_user[jsmith]/Accounts::User[jsmith]/User[jsmith]/ensure: created}}{{Notice: /Stage[main]/Users::Groups/Users::Virtual_group[dev]/Group[dev]/members: members changed 'auser,another' to ['auser', 'another', 'jsmith'] (corrective)}} *Actual Behavior:* {{Info: Loading facts}}{{Error: Failed to apply catalog: Parameter members failed on Group[dev]: can't find user for jsmith (file: /etc/puppetlabs/code/environments/production/modules/users/manifests/virtual_group.pp, line: 13)}} local_user.pp contains the following code... {{accounts::user { "$title":}}{{ ensure => $ensure,}}{{ shell => $shell,}}{{ comment => $comment,}}{{ home => $home,}}{{ home_mode => $home_mode,}}{{ uid => $uid,}}{{ gid => $gid,}}{{ group => $group,}}{{ create_group => $create_group,}}{{ membership => $membership,}}{{ forcelocal => $forcelocal,}}{{ password => $password,}}{{ locked => $locked,}}{{ sshkeys => $sshkeys,}}{{ purge_sshkeys => $purge_sshkeys,}}{{ managehome => $managehome,}}{{ bashrc_content => $bashrc_content,}}{{ bashrc_source => $bashrc_source,}}{{ bash_profile_content => $bash_profile_content,}}{{ bash_profile_source => $bash_profile_source,}}{{ system => $system,}}{{ ignore_password_if_empty => $ignore_password_if_empty,}}{{ forward_content => $forward_content,}}{{ forward_source => $forward_source,}} \ {{ }}}{{User[$title] -> Group[$groups.delete($group)]}} On 6.12.0 and earlier we see the primary group created, the user and the secondary group, on 6.13.0 this does not occur we get an error that the not yet created user can't be found. Add Comment
Jira (PUP-10320) Secondary group handling causing issues in 6.13.0
Title: Message Title Robert Brooks created an issue Puppet / PUP-10320 Secondary group handling causing issues in 6.13.0 Issue Type: Bug Affects Versions: PUP 6.13.0 Assignee: Unassigned Components: Catalog Application Created: 2020/02/28 11:47 AM Priority: Normal Reporter: Robert Brooks Puppet Version: 6.13.0 Puppet Server Version: 6.9.0-1.el7 OS Name/Version: Centos 7 Issues with managing users, groups and secondary groups with 6.13.0, issue is not present in 6.12.0. Desired Behavior: Info: Applying configuration version '1582911791' Notice: /Stage[main]/Users::Users/Users::Local_user[pcowger]/Accounts::User[jsmith]/Group[jsmith]/ensure: created Notice: /Stage[main]/Users::Users/Users::Local_user[jsmith]/Accounts::User[jsmith]/User[jsmith]/ensure: created Notice: /Stage[main]/Users::Groups/Users::Virtual_group[dev]/Group[dev]/members: members changed 'auser,another' to ['auser', 'another', 'jsmith'] (corrective) Actual Behavior: Info: Loading facts Error: Failed to apply catalog: Parameter members failed on Group[dev]: can't find user for jsmith (file: /etc/puppetlabs/code/environments/production/modules/users/manifests/virtual_group.pp, line: 13) local_user.pp contains the following code... accounts::user { "$title": ensure => $ensure, shell => $shell, comment => $comment, home => $home, home_mode => $home_mode, uid => $uid, gid => $gid, group => $group, create_group => $create_group, membership => $membership, forcelocal => $forcelocal, password => $password, locked => $locked, sshkeys => $sshkeys, purge_sshkeys => $purge_sshkeys, managehome => $managehome, bashrc_content => $bashrc_content, bashrc_source => $bashrc_source, bash_profile_content => $bash_profile_content, bash_profile_source => $bash_profile_source,
Jira (PUP-8125) Hiera 5 Custom Backends don't work with puppet apply
Title: Message Title Robert Brooks commented on PUP-8125 Re: Hiera 5 Custom Backends don't work with puppet apply you are correct! uggh, sorry, I cloned the repo as a test case. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8125) Hiera 5 Custom Backends don't work with puppet apply
Title: Message Title Robert Brooks updated an issue Puppet / PUP-8125 Hiera 5 Custom Backends don't work with puppet apply Change By: Robert Brooks If we add a custom backend in /etc/puppetlabs/code/environments/vagrant/hiera.yaml (attached) and run {{puppet apply /dev/null}} we get... {{ Error: Evaluation Error: Error while evaluating a Resource Statement, Unable to find 'lookup_key' function named 'hiera_mysql' in /etc/puppetlabs/code/environments/vagrant/hiera.yaml on node xenial.vagrant }} Looking at strace, it appears module functions are not being loaded.hiera_mysql function is puppet module from https://github.com/crayfishx/hiera-mysql deployed at /etc/puppetlabs/code/environments/vagrant/modules/hiera-mysql Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-8125) Hiera 5 Custom Backends don't work with puppet apply
Title: Message Title Robert Brooks created an issue Puppet / PUP-8125 Hiera 5 Custom Backends don't work with puppet apply Issue Type: Bug Affects Versions: PUP 4.10.8 Assignee: Thomas Hallgren Attachments: hiera.yaml Components: Hiera & Lookup Created: 2017/11/03 2:39 PM Priority: Normal Reporter: Robert Brooks If we add a custom backend in /etc/puppetlabs/code/environments/vagrant/hiera.yaml (attached) and run puppet apply /dev/null we get... Error: Evaluation Error: Error while evaluating a Resource Statement, Unable to find 'lookup_key' function named 'hiera_mysql' in /etc/puppetlabs/code/environments/vagrant/hiera.yaml on node xenial.vagrant Looking at strace, it appears module functions are not being loaded. hiera_mysql function is puppet module from https://github.com/crayfishx/hiera-mysql deployed at /etc/puppetlabs/code/environments/vagrant/modules/hiera-mysql
Jira (PUP-6119) environment returned from ENC makes site.pp not be included
Title: Message Title Robert Brooks commented on PUP-6119 Re: environment returned from ENC makes site.pp not be included Hi Henrik Lindberg, I'd love to move us up to Puppet 4.x, I just wish the upgrade path was a little less significant. As it is we live with a bunch of 3.x annoyances Consider my arm twisted, I will look again at what it will take. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3341) Puppet apply breaks when an ENC returns an environment
Title: Message Title Robert Brooks commented on PUP-3341 Re: Puppet apply breaks when an ENC returns an environment Eric ThompsonHenrik Lindberg after a little fun and games with Ruby 1.8.7 the tests are backported too Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6269) Backport PUP-3341 to 3.x
Title: Message Title Robert Brooks commented on PUP-6269 Re: Backport PUP-3341 to 3.x I created PR-4945 with backport of Felix Frank's commit. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3341) Puppet apply breaks when an ENC returns an environment
Title: Message Title Robert Brooks commented on PUP-3341 Re: Puppet apply breaks when an ENC returns an environment Henrik Lindberg is PUP-6269 acceptable? For unit tests, Josh Cooper's commit in comment almost applies to 3.x, I am not sure how to run the unit tests, but I can work on that... Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6269) Backport PUP-3341 to 3.x
Title: Message Title Robert Brooks created an issue Puppet / PUP-6269 Backport PUP-3341 to 3.x Issue Type: Task Affects Versions: PUP 3.8.7 Assignee: Robert Brooks Components: Community, Server Created: 2016/05/05 3:07 PM Priority: Normal Reporter: Robert Brooks see discussion in https://tickets.puppetlabs.com/browse/PUP-3341 Add Comment
Jira (PUP-3341) Puppet apply breaks when an ENC returns an environment
Title: Message Title Robert Brooks commented on PUP-3341 Re: Puppet apply breaks when an ENC returns an environment Felix Frank's commit applies to 3.x with a small (5 line offset) I did not attempt to backport the spec changes. I tested and this appears to fix the issue report here and the one reported by me (PUP-6119|https://tickets.puppetlabs.com/browse/PUP-6119) I created a pull request for the apply.rb change. If you would like me to try to backport the spec changes I will do so. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3341) Puppet apply breaks when an ENC returns an environment
Title: Message Title Robert Brooks commented on PUP-3341 Re: Puppet apply breaks when an ENC returns an environment Henrik Lindberg, they appear to be the same issue, this (PUP-3341) issue is present in 3.8.7, I just tested. I believe fixing this will resolve PUP-6119. For reference this makes Vagrant's Puppet provisioning fail if an enc is used which returns an environment as Vagrant is doing something like... puppet apply --modulepath '/tmp/vagrant-puppet/modules-5e40ddacd75edbc12df886b06751cb45:/etc/puppet/modules' --detailed-exitcodes --manifestdir /tmp/vagrant-puppet/manifests-c22d1f220eb0a6f98e7e8fc5f73f5743 /tmp/vagrant-puppet/manifests-c22d1f220eb0a6f98e7e8fc5f73f5743/vagrant.pp Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3341) Puppet apply breaks when an ENC returns an environment
Title: Message Title Robert Brooks commented on PUP-3341 Re: Puppet apply breaks when an ENC returns an environment This appears to be present in current 3.8.x releases, see https://tickets.puppetlabs.com/browse/PUP-6119 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6119) environment returned from ENC makes site.pp not be included
Title: Message Title Robert Brooks updated an issue Puppet / PUP-6119 environment returned from ENC makes site.pp not be included Change By: Robert Brooks Affects Version/s: PUP 3.8.7 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6119) environment returned from ENC makes site.pp not be included
Title: Message Title Robert Brooks commented on PUP-6119 Re: environment returned from ENC makes site.pp not be included Thanks Henrik Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3258) puppet apply + ENC + 3.7.x: does not read the .pp file
Title: Message Title Robert Brooks commented on PUP-3258 Re: puppet apply + ENC + 3.7.x: does not read the .pp file This issue is still present in puppet-3.8.6-1puppetlabs on Ubuntu 14.04: ENC returning nothing... root@trusty:~# /vagrant/enc --- classes: [] root@trusty:~# cat test.pp notify { "test.pp": } notify { "${environment}": } root@trusty:~# puppet apply test.pp Notice: Compiled catalog for trusty.vagrant in environment vagrant in 0.42 seconds