Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kylo Ginsberg Fix Version/s: PUP 4.1.0 Fix Version/s: PUP 4.2.0 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Eric Sorenson Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall assigned an issue to Unassigned Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall Assignee: Kurt Wall Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Let's try this again. Built my gem, installed, run the previous command, got love: # bundle exec rake package:implode package:bootstrap package:gem # bundle exec rake package:gem # ls -l pkg total 7392 -rw-r--r--. 1 root root 2520576 May 18 09:45 puppet-4.0.0.437.gem -rw-r--r--. 1 root root 2520576 May 18 09:45 puppet-4.0.0.437-x64-mingw32.gem -rw-r--r--. 1 root root 2520576 May 18 09:45 puppet-4.0.0.437-x86-mingw32.gem # gem install pkg/puppet-4.0.0.437.gem Successfully installed puppet-4.0.0.437 Parsing documentation for puppet-4.0.0.437
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall assigned an issue to Kurt Wall Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall Resolution: Fixed Assignee: QA Kurt Wall Status: Ready for Test Resolved Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall assigned an issue to QA Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall Status: Reopened Ready for Test Assignee: QA Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail It looks like you're running an older puppet puppet_version=3.8.0, which still makes use of the pre-AIO paths /var/lib/puppet. You'll want to grab a gem from builds.puppetlabs.com/puppet, do a gem install, and verify you can run as root. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall assigned an issue to Unassigned Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall Assignee: Kurt Wall Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall assigned an issue to Kurt Wall Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall Assignee: QA Kurt Wall Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Validate at SHA=. # env HOME=/dev/null puppet apply -e "notice(1)" --debug Debug: Runtime environment: puppet_version=3.8.0, ruby_version=2.0.0, run_mode=user, default_encoding=UTF-8 Notice: Scope(Class[main]): 1 Notice: Compiled catalog for t7j2j5euqle8jfl.delivery.puppetlabs.net in environment production in 0.01 seconds Debug: Creating default schedules Debug: Failed to load library 'selinux' for feature 'selinux' Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Failed to load library 'shadow' for feature 'libshadow' Debug: Puppet::Type::User::ProviderPw: file pw does not exist
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall QA Risk Probability: Medium Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall QA Risk Severity: Medium Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall QA Risk Severity: Medium High Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kurt Wall updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kurt Wall QA Risk Assessment: High Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kylo Ginsberg assigned an issue to QA Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kylo Ginsberg Status: Ready for CI Test Assignee: QA Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Michael Smith commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Merged in 4e194ce Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Steve Barlow updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Steve Barlow Sprint: Client 2015-05-13 , Client 2015-05-27 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Fixes merged in 8f5fa37 and f476f17 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Josh Cooper Assignee: Josh Cooper Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kylo Ginsberg assigned an issue to Unassigned Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kylo Ginsberg Assignee: Kylo Ginsberg Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kylo Ginsberg assigned an issue to Kylo Ginsberg Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Kylo Ginsberg Assignee: Kylo Ginsberg Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail With the PR, puppet as a gem no longer tries to create file/directories in the per-user locations: [root@bs2fk9iuildw7ut ~]# env HOME=/dev/null puppet apply -e "notice(1)" --debug ... Debug: /File[/etc/puppetlabs/puppet]/ensure: created Debug: /File[/etc/puppetlabs/code]/ensure: created Debug: /File[/opt/puppetlabs/puppet/cache]/ensure: created Debug: /File[/var/log/puppetlabs/puppet]/ensure: created Debug: /File[/var/run/puppetlabs]/ensure: created Add Comment
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Josh Cooper Assignee: Josh Cooper Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Eric Thompson updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Eric Thompson This is because of the new AIO paths. For package installs, these directories are created, and for non-root users, the appropriate directories are created. But gem installs run as root will run into something like this:{code}[root@om6o1hcgialwa9i ~]# puppet apply -e 'notice foo'Notice: Scope(Class[main]): fooNotice: Compiled catalog for om6o1hcgialwa9i.delivery.puppetlabs.net in environment production in 0.36 secondsError: Cannot create /etc/puppetlabs/puppet; parent directory /etc/puppetlabs does not existError: /File[/etc/puppetlabs/puppet]/ensure: change from absent to directory failed: Cannot create /etc/puppetlabs/puppet; parent directory /etc/puppetlabs does not existError: Cannot create /etc/puppetlabs/code; parent directory /etc/puppetlabs does not existError: /File[/etc/puppetlabs/code]/ensure: change from absent to directory failed: Cannot create /etc/puppetlabs/code; parent directory /etc/puppetlabs does not existError: Cannot create /opt/puppetlabs/puppet/cache; parent directory /opt/puppetlabs/puppet does not existError: /File[/opt/puppetlabs/puppet/cache]/ensure: change from absent to directory failed: Cannot create /opt/puppetlabs/puppet/cache; parent directory /opt/puppetlabs/puppet does not existError: Cannot create /var/log/puppetlabs/puppet; parent directory /var/log/puppetlabs does not existError: /File[/var/log/puppetlabs/puppet]/ensure: change from absent to directory failed: Cannot create /var/log/puppetlabs/puppet; parent directory /var/log/puppetlabs does not existNotice: /File[/opt/puppetlabs/puppet/cache/state]: Dependency File[/opt/puppetlabs/puppet/cache] has failures: trueWarning: /File[/opt/puppetlabs/puppet/cache/state]: Skipping because of failed dependenciesNotice: /File[/opt/puppetlabs/puppet/cache/lib]: Dependency File[/opt/puppetlabs/puppet/cache] has failures: trueWarning: /File[/opt/puppetlabs/puppet/cache/lib]: Skipping because of failed dependenciesNotice: /File[/etc/puppetlabs/puppet/ssl]: Dependency File[/etc/puppetlabs/puppet] has failures: trueWarning: /File[/etc/puppetlabs/puppet/ssl]: Skipping because of failed dependenciesNotice: /File[/etc/puppetlabs/puppet/ssl/certs]: Dependency File[/etc/puppetlabs/puppet] has failures: trueWarning: /File[/etc/puppetlabs/puppet/ssl/certs]: Skipping because of failed dependenciesNotice: /File[/etc/puppetlabs/puppet/ssl/public_keys]: Dependency File[/etc/puppetlabs/puppet] has failures: trueWarning: /File[/etc/puppetlabs/puppet/ssl/public_keys]: Skipping because of failed dependenciesNotice: /File[/etc/puppetlabs/puppet/ssl/certificate_requests]: Dependency File[/etc/puppetlabs/puppet] has failures: trueWarning: /File[/etc/puppetlabs/puppet/ssl/certificate_requests]: Skipping because of failed dependenciesNotice: /File[/etc/puppetlabs/puppet/ssl/private_keys]: Dependency File[/etc/puppetlabs/puppet] has failures: trueWarning: /File[/etc/puppetlabs/puppet/ssl/private_keys]: Skipping because of failed dependenciesNotice: /File[/etc/puppetlabs/puppet/ssl/private]: Dependency File[/etc/puppetlabs/puppet] has failures: trueWarning: /File[/etc/puppetlabs/puppet/ssl/private]: Skipping because of failed depen
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Josh Cooper Sprint: Client 2015-05-13 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper updated an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Change By: Josh Cooper Fix Version/s: PUP 4.1.0 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Jason Knudsen commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Another use-case that may be blocked. In a lot of our situations, we'll run puppet as a non-privileged user on the system, under /opt or /data. We build our own ruby and gem install puppet and then point confdir there. My initial attempt at getting the latest gem to work broke while trying to create those directories in /etc (which is not possible as a non-privileged user) Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Josh Cooper commented on PUP-4436 Re: With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail This also blocks passenger packages. When running passenger, we specify all of the root directories, e.g. --confdir, to point to the "root" locations. However the per-user run mode locations are still resolved. Previously this wasn't an issue, because we'd just do: File.expand_path(if Puppet.features.root? then system else user end) So we'd call File.expand_path('/etc/puppet/.puppet') and the return value would be ignored. However, now we're trying to create parent directories as a side-effect, and that fails (because passenger running as "puppet" doesn't have permission to write to the system directory): App 6698 stdout: ["/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/run_mode.rb:76:in `conf_dir'", App 6698 stdout: "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:50:in `app_defaults_for_run_mode'", App 6698 stdout: "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:135:in `do_initialize_settings_for_run_mode'", App 6698 stdout: "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:127:in `initialize_settings'", App 6698 stdout: "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:67:in `block in execute'",
Jira (PUP-4436) With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail
Title: Message Title Kylo Ginsberg created an issue Puppet / PUP-4436 With a gem install of puppet, when run as root, 'puppet {agent|apply}' fail Issue Type: Bug Affects Versions: PUP 4.0.0 Assignee: Unassigned Created: 2015/04/17 4:22 PM Priority: Normal Reporter: Kylo Ginsberg This is because of the new AIO paths. For package installs, these directories are created, and for non-root users, the appropriate directories are created. But gem installs run as root will run into something like this: [root@om6o1hcgialwa9i ~]# puppet apply -e 'notice foo' Notice: Scope(Class[main]): foo Notice: Compiled catalog for om6o1hcgialwa9i.delivery.puppetlabs.net in environment production in 0.36 seconds