[Puppet Users] Re: Puppetdb installed with puppetlabs/puppetdb migration 65 failing

2019-06-26 Thread Charlie Sharpsteen
Postgres versions released last Thursday June 20th contain a regression in the behavior of the ALTER TABLE statement that is causing this issue by preventing PuppetDB from initializing its database schema. A concise summary of the issue can be found

[Puppet Users] Re: Trouble after Agent upgrade -- Error: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-21 Thread Charlie Sharpsteen
A quick update on this one: With Patrick's help, we were able to re-produce the issue in AWS. The root cause appears to be that the Puppet::Provider class includes the Puppet::Util module, which also happens to have a Puppet::Util::Package sub-module. So, depending on the load order of puppet/u

[Puppet Users] Re: Trouble after Agent upgrade -- Error: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-20 Thread Charlie Sharpsteen
Could you post the content of package_provider.rb? Since that is in cache/lib/facter, it is a custom fact and the specifics of its implementation could shed some light on what is happening. -Charlie On Thursday, June 20, 2019 at 1:53:34 PM UTC-7, Patrick Whitney wrote: > > Hello Everyone, > >

[Puppet Users] Re: Install puppet 4.0 on centos 7?

2015-10-14 Thread Charlie Sharpsteen
On Wednesday, October 14, 2015 at 6:18:33 PM UTC-5, anton kropp wrote: > > I feel like I'm missing something super obvious here but I'm trying to > install puppet 4.0 on centos 7 and the only packages i can see are 3.8.3. > When I check the repo https://yum.puppetlabs.com/el/7/products/x86_64/

[Puppet Users] Re: trying to create a hash using the generate function

2015-05-05 Thread Charlie Sharpsteen
On Tuesday, May 5, 2015 at 5:06:15 PM UTC-7, Allen Myers wrote: > So, based on the error messages, it's obvious that the generate() function > is returning the string data type. Can I force it to return the hash data > type? > Or is there a way to convert a string to a hash? > The generate() f

[Puppet Users] Re: What happened to the top level collection repos?

2015-04-27 Thread Charlie Sharpsteen
On Sunday, April 26, 2015 at 5:09:18 PM UTC-7, Pete Brown wrote: > > Hi gang, > > I was just looking to setup my vagrant environment with puppet 4 and I > noticed the top level collection repos seem to have been removed. > The docs still say you can download them but the files don't exist. > Wa

[Puppet Users] Re: Puppet Agent broken on OS X (Yosemite w/ Ruby 2.2.0)?

2015-03-24 Thread Charlie Sharpsteen
On Tuesday, March 24, 2015 at 11:42:57 AM UTC-7, Joaquin Menchaca wrote: > > > $ ruby --version > ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14] > > $ puppet --version > /Users/vagrant/.rvm/gems/ruby-2.2.0/gems/puppet-3.7.4/lib/puppet/defaults.rb:465: > > warning: duplicated key at li

[Puppet Users] Re: Puppet fails to run if ruby1.8 is not installed.

2014-04-04 Thread Charlie Sharpsteen
On Friday, April 4, 2014 12:40:44 PM UTC-7, Tom Poulton wrote: > > I was running into this problem as well so I ran: > > *sudo cp -r /usr/lib/ruby/site_ruby/1.8/* > /usr/local/share/ruby/site_ruby/2.0/* > > /usr/local/share/ruby/site_ruby/2.0/ is part of the $LOAD_PATH so I > figured why not stic

[Puppet Users] Re: vagrant and reusing certs after destroy box

2014-02-28 Thread Charlie Sharpsteen
On Thursday, February 27, 2014 12:17:51 PM UTC-8, Johan De Wit wrote: > > Hi, > > The situation ; > > Whenever I bring up a vagrant box, I do a puppet run against my puppet > master to configure some common things I need. > And I want to avoid the remove/new request and sign cycle after a > va

[Puppet Users] Re: Hiera isn't merging hashes

2014-02-26 Thread Charlie Sharpsteen
On Wednesday, February 26, 2014 2:19:23 PM UTC-8, paul@complex.com wrote: > > I have been doing some experimenting with Puppet + Hiera with some of my > hashes, but when it is going through my hierarchy it is returning whatever > hash it hits first and skipping the others. > > For my node 's

[Puppet Users] Re: err: Could not send report: Error 400 on SERVER: (): found character that cannot start any token while scanning for the next token

2013-12-24 Thread Charlie Sharpsteen
> On Sunday, December 15, 2013 8:06:34 AM UTC+1, Charlie Sharpsteen wrote: >> >> On Saturday, December 14, 2013 6:59:22 AM UTC-8, John Naggets wrote: >>> >>> Hi, >>> >>> On some of my puppet agents at each puppet agent run I get the follow

[Puppet Users] Re: Puppet 3.4.0 name as an array in package

2013-12-20 Thread Charlie Sharpsteen
only works when the entire array of packages is in the same state. If one package is out of sync with the rest, unexpected results will occur. - We could not find any forge modules that exploited this behavior. The recommended workaround is to pass an array of resource titles: package

Re: [Puppet Users] Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread Charlie Sharpsteen
I have migrated 13602, 17439 and 22902. Ticket 4240 is in a project that has not seen significant activity for quite a while and so automatic issue migration will not be set up. For cases like this, we can discuss the status of the ticket on IRC in #puppet-dev. Let us know if you have any more q

[Puppet Users] Re: Puppet Labs issue tracker migration 16 Dec 2013

2013-12-16 Thread Charlie Sharpsteen
ed issue query and have the updates mailed out on a set schedule. More information can be found here: https://confluence.atlassian.com/display/JIRA061/Receiving+Search+Results+via+Email Updates for all platform projects are also being sent by JIRA to the puppet-bugs mailing list. -- Charl

[Puppet Users] Re: Projects.puppetlabs.com undergoing maintenance at 9PM PST

2013-12-16 Thread Charlie Sharpsteen
- Facter - Hiera - MCollective - PuppetDB Let us know if you have any questions about the migration or if the ticket exporter on the old Redmine site does not appear to be working properly! -- Charlie Sharpsteen Open Source Support Engineer Puppet Labs -- You received this message beca

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-15 Thread Charlie Sharpsteen
catalogs is handled by PuppetDB or the dashboard. Approach 3 works as well and offers a lot of control, but you will need to write a bit of code that extracts data from the catalog and report files before you can focus on the analysis. -- Charlie Sharpsteen Open Source Support Engineer Puppet

[Puppet Users] Re: err: Could not send report: Error 400 on SERVER: (): found character that cannot start any token while scanning for the next token

2013-12-14 Thread Charlie Sharpsteen
d is throwing an error. A copy of the report the agent was attempting to send can usually be found in /var/lib/puppet/state/last_run_report.yaml --- this is the file that the line and column numbers relate to. Hope this is helpful! -- Charlie Sharpsteen Open Source Support Engineer Puppet Labs --

Re: [Puppet Users] get a *structured* version of the puppet agent output

2013-12-13 Thread Charlie Sharpsteen
;https://docs.puppetlabs.com/puppetdb/1.5/api/query/v3/resources.html> : curl -G 'http://localhost:8080/v3/resources/File/myfile' --data-urlencode 'query=["=", "certname", "pe-310-agent.puppetdebug.vlan"]' This returns all the parameters of int

Re: [Puppet Users] Puppet Labs issue tracker migration 16 Dec 2013

2013-12-11 Thread Charlie Sharpsteen
jects.puppetlabs.com>points at RedMine . Or do I need to > hold my horses? > > Thanks > > John > Hi John, Updated documentation will be rolled out alongside public access to JIRA on the 16th. Account creation will be opened on that day as well. Let us know if you have a