[Puppet Users] mysql module package names

2016-09-10 Thread Suresh Rajagopal
Hi,
Is there any better approach to handle mysql package names with different 
flavors ? In the current forge module, we need to pass package name. Is there 
any better approach to deriving package names with just passing version through 
hiera ?
ThanksSuresh Rajagopal

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/408377601.2205148.1473531167276%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] puppetserver error "Service ':CaService' not found" when following puppet install guide

2016-09-10 Thread Jeremy Barlow

On Friday, September 9, 2016 at 7:25:48 AM UTC-7, Daniel Creed wrote:
>
> I have the same error, but even with the ca.cfg file. 
>
>
Assuming you are using Puppet Server 2.5.0 or 2.6.0, you might check to see 
that the "BOOTSTRAP_CONFIG" variable in your "/etc/sysconfig/puppetserver" 
or "/etc/default/puppetserver" file is set, as would be the default for a 
new package install, to:

BOOTSTRAP_CONFIG="/etc/puppetlabs/puppetserver/services.d/,/opt/puppetlabs/server/apps/puppetserver/services.d"


The "/etc/puppetlabs/puppetserver/services.d/" directory will only be 
inspected for ".cfg" files if included in the value for the 
"BOOTSTRAP_CONFIG" variable.

If this doesn't help you overcome the error, you might respond back with 
the contents of the "ca.cfg" file and confirm which version of Puppet 
Server you are using.
 

>
> On Sunday, August 28, 2016 at 7:36:45 PM UTC-5, Alex Xu wrote:
>>
>> Hey Matthaus, 
>>
>> Thanks for the help. The problem is indeed missing ca.cfg. After I add a 
>> ca.cfg file in the link you provided, the issue is gone. Really appreciated!
>>
>> Thanks,
>> AX
>>
>>
>> On Saturday, August 27, 2016 at 12:45:33 AM UTC+8, Matthaus Litteken 
>> wrote:
>>>
>>> AX,
>>>
>>> In puppetserver 2.5.0 some changes went in with respect our 
>>> bootstrap.cfg config file. This change shouldn't affect fresh installs. It 
>>> looks as though you are 
>>> missing /etc/puppetlabs/puppetserver/services.d/ca.cfg, which adds the 
>>> CaService. ca.cfg should look like the following for a puppet-server 
>>> install that will also be a CA: 
>>> https://github.com/puppetlabs/puppetserver/blob/2.5.0/ezbake/config/services.d/ca.cfg
>>>
>>> Also, for more details with respect to the bootstrap.cfg changes in 
>>> 2.5.0, here are the docs:
>>> - 
>>> https://docs.puppet.com/puppetserver/2.5/release_notes.html#potential-breaking-issues-when-upgrading-with-a-modified-bootstrapcfg
>>> - https://docs.puppet.com/puppetserver/2.5/bootstrap_upgrade_notes.html
>>>
>>> Hope that helps,
>>> Matthaus
>>>
>>> On Fri, Aug 26, 2016 at 5:45 AM, Alex Xu  wrote:
>>>
 Hi all, 

 I was following puppet install guide for puppet 4.6 puppetserver 2.5. 
 After I installed puppetserver and puppet-agent 
 from puppetlabs-release-pc1-trusty.deb in a new Ubuntu 14.04 box. 

 When I try running "puppet resource service puppetserver 
 ensure=running", I got following error 
 in /var/log/puppetlabs/puppetserver/puppetserver-daemon.log. 

 Searched on google and there is nothing about CaService. Really 
 appreciate any thoughts on this.

 Thanks,
 AX


 20:20:10.470 [main] DEBUG puppetlabs.trapperkeeper.bootstrap - Loading 
 bootstrap configs:
 /opt/puppetlabs/server/apps/puppetserver/config/services.d/bootstrap.cfg
 20:20:12.653 [main] DEBUG org.eclipse.jetty.util.log - Logging to 
 Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
 20:20:12.658 [main] INFO  org.eclipse.jetty.util.log - Logging 
 initialized @14082ms
 20:20:12.942 [main] INFO  p.t.services.webserver.jetty9-core - Removing 
 buggy security provider SunPKCS11-NSS version 1.7
 20:20:17.010 [main] DEBUG puppetlabs.trapperkeeper.internal - 
 Initializing lifecycle worker loop.
 20:20:17.096 [main] ERROR puppetlabs.trapperkeeper.internal - Error 
 during app buildup!
 java.lang.RuntimeException: Service ':CaService' not found
  at 
 puppetlabs.trapperkeeper.internal$handle_prismatic_exception_BANG_.invoke(internal.clj:98)
  
 ~[na:na]
  at 
 puppetlabs.trapperkeeper.internal$instantiate$fn__13793.invoke(internal.clj:139)
  
 ~[na:na]
  at 
 puppetlabs.trapperkeeper.internal$instantiate.invoke(internal.clj:136) 
 ~[na:na]
  at 
 puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337$fn__14338.invoke(internal.clj:542)
  
 ~[na:na]
  at 
 puppetlabs.trapperkeeper.internal$eval14328$build_app_STAR___14337.invoke(internal.clj:510)
  
 ~[na:na]
  at 
 puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439$fn__14440$fn__14441.invoke(internal.clj:610)
  
 ~[na:na]
  at 
 puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439$fn__14440.invoke(internal.clj:609)
  
 [na:na]
  at 
 puppetlabs.trapperkeeper.internal$eval14430$boot_services_STAR___14439.invoke(internal.clj:604)
  
 [na:na]
  at 
 puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259$fn__15260.invoke(core.clj:130)
  
 [na:na]
  at 
 puppetlabs.trapperkeeper.core$eval15252$boot_with_cli_data__15259.invoke(core.clj:95)
  
 [na:na]
  at 
 puppetlabs.trapperkeeper.core$eval15281$run__15286$fn__15287.invoke(core.clj:151)
  
 [na:na]
  at 
 puppetlabs.trapperkeeper.core$eval15281$run__15286.invoke(core.clj:145) 
 [na:na]
  at puppetlabs.trapperkeep