Re: [Puppet Users] Hiera YAML False bug

2013-06-07 Thread Dan White
A couple of things: 

$parameters is supposed to end up as a hash, right ?
You are setting a default value of an empty array !

   $parameters = hiera('java', []), 

Try changing ‘java’ to something it will not find and see the errors you get.  
That is how I discovered it.

My additional code shows that the hash is getting into your manifest, but it 
needs to be extended a bit to show the values of the hash.
How about using another stdlib function like this:

   notify { [ join_keys_to_values ( $parameters, “ = “ ) ]: }

I plan to try this myself on Monday.

Next, there is this line:
   if $parameters['enable_v6'] == true and $java::params::openjdk_6_jre { 

You need to verify the value of "$java::params::openjdk_6_jre” -- it is not in 
the example YAML -- and then you need to verify that your logic/syntax is 
actually doing what you want.

This should help:
http://docs.puppetlabs.com/puppet/3/reference/lang_datatypes.html#automatic-conversion-to-boolean


On Jun 7, 2013, at 4:00 PM, Ti Leggett wrote:

> Here's what comes back from that.
> 
> Info: Applying configuration version '1370635086'
> Notice: /Stage[main]/Java::Install/Notify[enable_v7]/message: current_value 
> absent, should be Key (noop)
> Notice: /Stage[main]/Java::Install/Notify[enable_v6]/message: current_value 
> absent, should be Key (noop)
> Notice: /Stage[main]/Java::Install/Notify[sun]/message: current_value absent, 
> should be Key (noop)
> Notice: /Stage[main]/Java::Install/Notify[openjdk]/message: current_value 
> absent, should be Key (noop)
> Notice: /Stage[main]/Java::Install/Package[java-1.6.0-openjdk-devel]/ensure: 
> current_value absent, should be latest (noop)
> Notice: /Stage[main]/Java::Install/Notify[It is a hash]/message: 
> current_value absent, should be It is a hash (noop)
> Notice: /Stage[main]/Java::Install/Notify[enable_jdk]/message: current_value 
> absent, should be Key (noop)
> Notice: Class[Java::Install]: Would have triggered 'refresh' from 7 events
> Notice: Finished catalog run in 27.52 seconds
> 
> On Jun 6, 2013, at 10:22 AM, Ygor  wrote:
> 
>> I may have found the problem:
>> 
>> Add the following block of code  - you will need to have the puppet-forge 
>> module stdlib installed -- and see what it does
>> 
>> class java::install ( 
>>$parameters = hiera('java', []), 
>> ) { 
>> 
>># - start 
>>include stdlib
>> 
>>if is_hash ( $parameters ) {
>>notify { "It is a hash" : } 
>>} else {
>> notify { "It is NOT a hash" : } 
>>}
>> 
>>if $parameters {
>>$hashkeez = keys ( $parameters )
>>notify { [ $hashkeez ]:
>>message => "Key",
>> }
>>}   
>># - end
>> 
>>if $parameters['openjdk'] == true { 
>>if $parameters['enable_v6'] == true and $java::params::openjdk_6_jre 
>> { 
>>package { $java::params::openjdk_6_jre: 
>>ensure => latest, 
>> 
>> 
>> On Wednesday, June 5, 2013 4:52:24 PM UTC-4, Ti Leggett wrote:
>> It seems puppet thinks that variables evaluate to true even when they are 
>> explicitly set to false in hiera YAML. 
>> 
>> In my searching it seems like this should be fixed but with hiera 1.2.1 and 
>> puppet 3.2.1 I'm still seeing this. 
>> 
>> In my YAML I have: 
>> 
>> # Java directives 
>> java : 
>>enable_jdk : false # Install the JDK as well as the JRE 
>>enable_v6  : true  # Install Java 6 
>>enable_v7  : false # Install Java 7 
>>openjdk: true  # Install OpenJDK 
>>sun: false # Install Sun 
>> 
>> 
>> And in one of my manifests I do something like: 
>> 
>> class java::install ( 
>>$parameters = hiera('java', []), 
>> ) { 
>>if $parameters['openjdk'] == true { 
>>if $parameters['enable_v6'] == true and $java::params::openjdk_6_jre 
>> { 
>>package { $java::params::openjdk_6_jre: 
>>ensure => latest, 
>>} 
>>if $parameters['enable_jdk'] == true and 
>> $java::params::openjdk_6_jdk { 
>>package { $java::params::openjdk_6_jdk: 
>>ensure => latest, 
>>} 
>>} 
>>} 
>> … 
>> 
>> No matter what it thinks it should install the JDK package even though the 
>> parameter is set to false. I've tried setting it 0, False, n, and N and it 
>> always evaluates to true. Is this a known bug and if so is there a 
>> workaround? 
>> 
>> 
>> -- 
>> 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 post to this group, send email to puppet-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google

[Puppet Users] Re: Status of bug #8040?

2013-06-07 Thread Chuck
I can say I have over 12,000 nodes managed with puppet and have not had any 
issues with this bug.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Puppet with pre-generated certificate authority

2013-06-07 Thread Matthew Ceroni
Is it possible to use a pre-generated CA with Puppet? Instead of having it 
create it on first start-up? I have an internal root CA that I want to use 
with Puppet. I simply tried replacing the CA files in /var/lib/puppet/ssl 
but that didn't seem to work. It might be that I wasn't sure if the ca.pass 
file (which contains the CA private key pass phrase) is encoded in any 
special way. I just edited that and put in the plain text pass phrase.

I don't want to disable the Puppet CA, I just want to use a pre-generated 
CA so that all certificates created agents come from my root CA. 

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Stages and concat

2013-06-07 Thread Jakov Sosic

On 06/04/2013 03:43 PM, jcbollinger wrote:


If you stick to simple uses of stages, on the other hand, then you
probably don't have any potential gains over Puppet's sharper, more
precise alternatives in the first place.


I use stage (before main) for setting up yum repositories. That's 
because I want to avoid making dependencies between modules such as 
'cobbler' and some specific repository (for example EPEL).


That way my modules are transferable between Fedora and RHEL/CentOS. So, 
stages serve me pretty well.


Idea is to have all yum repositories set up, before any of the package 
resources gets applied on system.



Is there a better way to achieve this?


--
Jakov Sosic
www.srce.unizg.hr

--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Trouble getting puppet config from client to master (Certificate verify failed).

2013-06-07 Thread Jakov Sosic

On 06/06/2013 10:25 AM, khoi...@peoplebrowsr.com wrote:


Then restart the client's puppet agent and sign the client again. But it
still doesn't work!


Try to sync clock of both master and client to same NTP server.


--
Jakov Sosic
www.srce.unizg.hr

--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Hiera YAML False bug

2013-06-07 Thread Ti Leggett
Here's what comes back from that.

Info: Applying configuration version '1370635086'
Notice: /Stage[main]/Java::Install/Notify[enable_v7]/message: current_value 
absent, should be Key (noop)
Notice: /Stage[main]/Java::Install/Notify[enable_v6]/message: current_value 
absent, should be Key (noop)
Notice: /Stage[main]/Java::Install/Notify[sun]/message: current_value absent, 
should be Key (noop)
Notice: /Stage[main]/Java::Install/Notify[openjdk]/message: current_value 
absent, should be Key (noop)
Notice: /Stage[main]/Java::Install/Package[java-1.6.0-openjdk-devel]/ensure: 
current_value absent, should be latest (noop)
Notice: /Stage[main]/Java::Install/Notify[It is a hash]/message: current_value 
absent, should be It is a hash (noop)
Notice: /Stage[main]/Java::Install/Notify[enable_jdk]/message: current_value 
absent, should be Key (noop)
Notice: Class[Java::Install]: Would have triggered 'refresh' from 7 events
Notice: Finished catalog run in 27.52 seconds

On Jun 6, 2013, at 10:22 AM, Ygor  wrote:

> I may have found the problem:
> 
> Add the following block of code  - you will need to have the puppet-forge 
> module stdlib installed -- and see what it does
> 
> class java::install ( 
> $parameters = hiera('java', []), 
> ) { 
> 
> # - start 
> include stdlib
> 
> if is_hash ( $parameters ) {
> notify { "It is a hash" : } 
> } else {
>  notify { "It is NOT a hash" : } 
> }
> 
> if $parameters {
> $hashkeez = keys ( $parameters )
> notify { [ $hashkeez ]:
> message => "Key",
>  }
> }   
> # - end
> 
> if $parameters['openjdk'] == true { 
> if $parameters['enable_v6'] == true and $java::params::openjdk_6_jre 
> { 
> package { $java::params::openjdk_6_jre: 
> ensure => latest, 
> 
> 
> On Wednesday, June 5, 2013 4:52:24 PM UTC-4, Ti Leggett wrote:
> It seems puppet thinks that variables evaluate to true even when they are 
> explicitly set to false in hiera YAML. 
> 
> In my searching it seems like this should be fixed but with hiera 1.2.1 and 
> puppet 3.2.1 I'm still seeing this. 
> 
> In my YAML I have: 
> 
> # Java directives 
> java : 
> enable_jdk : false # Install the JDK as well as the JRE 
> enable_v6  : true  # Install Java 6 
> enable_v7  : false # Install Java 7 
> openjdk: true  # Install OpenJDK 
> sun: false # Install Sun 
> 
> 
> And in one of my manifests I do something like: 
> 
> class java::install ( 
> $parameters = hiera('java', []), 
> ) { 
> if $parameters['openjdk'] == true { 
> if $parameters['enable_v6'] == true and $java::params::openjdk_6_jre 
> { 
> package { $java::params::openjdk_6_jre: 
> ensure => latest, 
> } 
> if $parameters['enable_jdk'] == true and 
> $java::params::openjdk_6_jdk { 
> package { $java::params::openjdk_6_jdk: 
> ensure => latest, 
> } 
> } 
> } 
> … 
> 
> No matter what it thinks it should install the JDK package even though the 
> parameter is set to false. I've tried setting it 0, False, n, and N and it 
> always evaluates to true. Is this a known bug and if so is there a 
> workaround? 
> 
> 
> -- 
> 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 post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Issue installing on RHEL 6 (2.6.32-358.2.1.el6.x86_64)

2013-06-07 Thread Kenneth Edgar
After installing the puppet labs repo, I try running 'yum install -y 
puppet-server and recieve:

Error:  Multilib version problems found. This often means that the root
   cause is something else and multilib version checking is just
   pointing out that there is a problem. Eg.:
   
 1. You have an upgrade for libselinux which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libselinux of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libselinux.otherarch ... this should give you an error
message showing the root cause of the problem.
   
 2. You have multiple architectures of libselinux installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
   
 3. You have duplicate versions of libselinux installed already.
You can use "yum check" to get yum show these errors.
   
   ...you can also use --setopt=protected_multilib=false to remove
   this checking, however this is almost never the correct thing to
   do as something else is very likely to go wrong (often causing
   much more problems).
   
   Protected multilib versions: libselinux-2.0.94-5.3.el6.i686 != 
libselinux-2.0.94-5.3.el6_4.1.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Have any of you run into this, and do you have any suggestions?  I'd prefer 
this method of install if possible.

Thank you,
Ken Edgar
Unix Sysadmin, School Specialty, Inc.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Status of bug #8040?

2013-06-07 Thread Jakov Sosic

On 06/05/2013 06:57 PM, Dennis Jacobfeuerborn wrote:

Hi,
what plans are in place to deal with bug #8040:
http://projects.puppetlabs.com/issues/8040


I don't know why this seems so much of a problem for you. Managing ~200 
nodes, some of wich are quite complex beasts and I haven't run into this 
issue yet...



--
Jakov Sosic
www.srce.unizg.hr

--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Extending Puppet for network device management

2013-06-07 Thread srivatsa rao
Thanks a lot for the response!

Is there any developer guide or something similar which I can follow to 
know internal working of puppet in detail? so that I can go to right places 
and test/add modules.
Any material in this direction will be very helpful to me.

Thanks,
Vatsa

On Friday, 7 June 2013 11:05:53 UTC-7, Jakov Sosic wrote:
>
> On 06/07/2013 06:40 AM, srivatsa rao wrote: 
> > Hello, 
> > I have started using puppet recently and my primary purpose is to use 
> > puppet to maintain state of a bunch of network devices, I have explored 
> > the basics of configuring switch interfaces using puppet, I feel there 
> > is necessity to extend it to do more complex jobs on network devices. I 
> > have tried finding ways to do several other jobs on switch using puppet 
> > but could not find much. If any one could point me some links which may 
> > help me explore all the implemented things for network management then 
> > it would be a great help aslo I'm looking forward to write new ruby 
> > modules to help myself and publish them if the work is significant. So 
> > thinking of extending puppets where should I start? any specific docs 
> > which I can refer? 
>
> I think you should probably write your own custom types. Take a look at 
> F5 modules. 
>
>
> -- 
> Jakov Sosic 
> www.srce.unizg.hr 
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Announce: puppetdbquery 1.2.0

2013-06-07 Thread Erik Dalén
I have worked a bit on a event query tool, it is not ready for release yet.
But hopefully it will be soon :)

It is tricky to combine it into a single query though as the report and
event API don't support subqueries yet.


On 7 June 2013 19:10, hai wu  wrote:

> Erik,
>
> I am wondering when you are going to add some support for current puppetdb
> report API ..
>
> Thanks,
> Hai
>
> On Fri, Jun 7, 2013 at 11:13 AM, Erik Dalén 
> wrote:
>
>> I've released version 1.2.0 of puppetdbquery.
>>
>> New for this release is auto capitalization of resource type names and
>> class names. So now the queries 'class[apache]' and 'Class[Apache]' will be
>> equivalent. Should make it a bit more forgiving and easy to use. The
>> capitalization on the resource title only happens if the resource type is
>> class, so not on stuff like 'File["/etc/passwd"]'.
>>
>> It also includes a fix to make it run better under certain ruby 1.8.7
>> versions.
>>
>> http://forge.puppetlabs.com/dalen/puppetdbquery/1.2.0
>>
>> --
>> Erik Dalén
>>
>> --
>> 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 post to this group, send email to puppet-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> 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 post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Erik Dalén

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] pe_account user type setup

2013-06-07 Thread Joe Arnet
Hello,

I'm struggling to get the pe_account user type module working. I've written 
up a users.pp and groups.pp manifests, but when I add in my node to the 
pe_accounts section in the console - then run the agent, I don't see the 
users and groups being created. So, I've got the users.pp and groups.pp in 
/etc/puppetlabs/puppet/modules/site/manifests. I'm trying to do this in 
what I understand to be the namespace format, not yaml. I know the 
connection is valid between master -> node as I've trialed out the motd 
module in a similar format. Any help would be appreciated. 

- Joe Arnet

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Extending Puppet for network device management

2013-06-07 Thread Jakov Sosic

On 06/07/2013 06:40 AM, srivatsa rao wrote:

Hello,
I have started using puppet recently and my primary purpose is to use
puppet to maintain state of a bunch of network devices, I have explored
the basics of configuring switch interfaces using puppet, I feel there
is necessity to extend it to do more complex jobs on network devices. I
have tried finding ways to do several other jobs on switch using puppet
but could not find much. If any one could point me some links which may
help me explore all the implemented things for network management then
it would be a great help aslo I'm looking forward to write new ruby
modules to help myself and publish them if the work is significant. So
thinking of extending puppets where should I start? any specific docs
which I can refer?


I think you should probably write your own custom types. Take a look at 
F5 modules.



--
Jakov Sosic
www.srce.unizg.hr

--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] ssh_authorized_key filling /var/log/messages

2013-06-07 Thread Stefan Schulte
On Mon, 3 Jun 2013 09:15:56 -0700 (PDT)
Marek Dohojda  wrote:

> 
> 
> On Saturday, June 1, 2013 1:59:36 PM UTC-6, Stefan Schulte wrote:
> >
> > On Fri, 31 May 2013 15:56:30 -0700 (PDT) 
> > Marek Dohojda > wrote: 
> >
> > > Having weird issue that I can't seem to find any solution to: 
> > > 
> > > puppet 2.7.21 and 2.6.9 
> > > 
> > > here is my stanza: ssh_authorized_key{ �$name�: 
> > > 
> > >   ensure => present, 
> > >   name => "$name", 
> > >   key => "$key", 
> > >   type => $type, 
> > >   user => "$name", 
> > >   require => File["$myhome/.ssh"] 
> > > 
> > > } 
> >
> > a common pitfall is that name contains spaces (at least trailing
> > spaces should cause issues) or that people specify the key
> > parameter as something like "ssh-rsa  B3NzaC1kc3MAAA" while
> > instead you have to specify "B3NzaC1kc3MAAA" as the key and
> > "ssh-rsa" as the type. 
> >
> > So does `$key` contain any spaces? Does `$name` contain any
> > trailing spaces? 
> >
> > Can you please post one of the entries that is filling up 
> > your /var/log/messages? 
> >
> > -Stefan 
> >
> 
> I wish it was so simple :) I ensured the keys are fine, and there are
> no spaces.
> 
> here is a sample (sanitized)
> (/Stage[main]//::Mkuser[]/Ssh_authorized_key[]/ensure)
>  
> created
> 
> 
> 
> 
>  
> 

So puppet thinks the key is absent otherwise it would not print this
message. But you also do not see duplicate key entries, right?

Without your actual manifest and the file content I can only take
guesses here:

- do you manage the authorized key file in any way besides
  ssh_authorized_key resources? Are you sure you do not have some file
  { 'authorized_key' :ensure => absent} around that would cause puppet
  to delete and recreate the file in every run?
- for security reasons the authorized_key file is modifed as the user
  specified with the `user` parameter. Is this one able to read and
  write to the file? Is `~username/.ssh/authorized_keys` owned by
  the user specified with the `user` parameter?
- do you have the same key in another `authorized_key` file regardless
  if you manage this second key with puppet or not? By the same key, I
  mean an ssh key with the same comment (which puppet mapps to the
  `name` parameter)

-Stefan

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Announce: puppetdbquery 1.2.0

2013-06-07 Thread hai wu
Erik,

I am wondering when you are going to add some support for current puppetdb
report API ..

Thanks,
Hai

On Fri, Jun 7, 2013 at 11:13 AM, Erik Dalén wrote:

> I've released version 1.2.0 of puppetdbquery.
>
> New for this release is auto capitalization of resource type names and
> class names. So now the queries 'class[apache]' and 'Class[Apache]' will be
> equivalent. Should make it a bit more forgiving and easy to use. The
> capitalization on the resource title only happens if the resource type is
> class, so not on stuff like 'File["/etc/passwd"]'.
>
> It also includes a fix to make it run better under certain ruby 1.8.7
> versions.
>
> http://forge.puppetlabs.com/dalen/puppetdbquery/1.2.0
>
> --
> Erik Dalén
>
> --
> 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 post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: Puppetd with --noop and operation with puppetrun

2013-06-07 Thread Giovanni


> Instead of --noop, I think you want --no-client.  That will prevent the 
> agent from automatically retrieving and applying catalogs, but when 
> triggered via puppetrun it will apply whatever catalog it retrieves 
> normally.
>
>  
Thank you John for your suggestion. 
With --no-client puppet stop to send reports to puppermaster. 
Do I need to use a crontab for reports or I have to change some parameters 
in puppet.conf?

Giovanni

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Announce: puppetdbquery 1.2.0

2013-06-07 Thread Erik Dalén
I've released version 1.2.0 of puppetdbquery.

New for this release is auto capitalization of resource type names and
class names. So now the queries 'class[apache]' and 'Class[Apache]' will be
equivalent. Should make it a bit more forgiving and easy to use. The
capitalization on the resource title only happens if the resource type is
class, so not on stuff like 'File["/etc/passwd"]'.

It also includes a fix to make it run better under certain ruby 1.8.7
versions.

http://forge.puppetlabs.com/dalen/puppetdbquery/1.2.0

-- 
Erik Dalén

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Puppet Windows package not seeing DisplayName in Registry?

2013-06-07 Thread Reginald Choudari
Hello,

I've got Package resource on my Windows machine that keeps creating itself 
even though the package has been properly installed.

I've got the name attribute set to the DisplayName found in the Registry 
for the package.

Every time the agent polls, I see in the Event Logs:

/Stage[main]/Mssql_rtwo_sptwo/Package[mssql2008r2sp2_exec]/ensure: created

This is what's in my manifest:

package { 'mssql2008r2sp2_exec':
ensure  => installed,
name=> 'SQL Server 2008 R2 SP2 Common Files',
provider=> windows,
source  => "C:\\puppet_temp\\${mssql_filename}",
install_options => ['/quiet', '/IAcceptSQLServerLicenseTerms', 
'/allinstances'],
require => Exec['run_mssql2008r2sp2_artifact_extract_ps1'],
  }

I'm thinking there has got to be some weird bug/error with this ... Can 
anyone help?

Thanks in advance

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] " mco puppet runonce -v" fails when puppet returns code 2 for change

2013-06-07 Thread R.I.Pienaar


- Original Message -
> From: "arjun tr" 
> To: puppet-users@googlegroups.com
> Sent: Friday, June 7, 2013 7:32:06 AM
> Subject: [Puppet Users] " mco puppet runonce -v" fails when puppet returns 
> code 2 for change
> 
> *Not sure if this a feature or a issue, if its a feature is there a way to
> configure it in puppet or mcollective?

it's not designed to be used iwth 'puppet agent --test', it is designed to 
start a background
puppet run.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] " mco puppet runonce -v" fails when puppet returns code 2 for change

2013-06-07 Thread arjun tr
*Not sure if this a feature or a issue, if its a feature is there a way to 
configure it in puppet or mcollective?

1st Attempt(Failed)
---
*
[root@mcqpuppetserver ~]# mco puppet runonce -v
Discovering hosts using the mc method for 2 second(s)  1

* [ > ] 1 / 1


mcqpuppetagent. : Puppet command 'puppet agent --test --server 
mcqpuppetserver. --onetime --daemonize --color=false --splay --splaylimit 
30' had exit code 2, expected 0
{:summary=>  "Puppet command 'puppet agent --test --server 
mcqpuppetserver. --onetime --daemonize --color=false --splay --splaylimit 
30' had exit code 2, expected 0"}



 rpc stats 
   Nodes: 1 / 1
 Pass / Fail: 0 / 1
  Start Time: Mon Jun 03 10:15:20 +0530 2013
  Discovery Time: 2003.35ms
  Agent Time: 143063.86ms
  Total Time: 145067.21ms





*
2nd Attempt(Success)
---*

[root@mcqpuppetserver ~]# mco puppet runonce -v
Discovering hosts using the mc method for 2 second(s)  1

* [ > ] 1 / 1


mcqpuppetagent. : OK
{:summary=>  "Started a background Puppet run using the 'puppet 
agent --test --server mcqpuppetserver. --onetime --daemonize --color=false 
--splay --splaylimit 30' command"}



 rpc stats 
   Nodes: 1 / 1
 Pass / Fail: 1 / 0
  Start Time: Mon Jun 03 10:18:41 +0530 2013
  Discovery Time: 2011.42ms
  Agent Time: 144182.50ms
  Total Time: 146193.92ms


-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Force osfamily value

2013-06-07 Thread Charly Mathieu
Actually, it doesn't get better. Nice try ^^

Le vendredi 7 juin 2013 14:31:55 UTC+2, Charly Mathieu a écrit :
>
> version is 1.5.9, indeed there is no osfamily
> Ok, so I can consider update it. It didn't know about it, thank you, I'll 
> tell you if it worked :)
>
> Le vendredi 7 juin 2013 14:25:34 UTC+2, Johan De Wit a écrit :
>>
>> My first thought, 
>>
>> facter version to old ? 
>>
>> Older ones do not have osfamily 
>>
>> check with 
>>
>> facter osfamily 
>> facter facterversion 
>>
>>
>>
>>
>> On 06/07/2013 11:43 AM, Charly Mathieu wrote: 
>> > Hello, 
>> > I'm working with community modules, and using recompiled kernel ubuntu 
>> > machines. 
>> > The problem is that the modules can't recognize the osfamily. (He got 
>> > the operatingsystem atleast.) 
>> > 
>> > Can I force the value of the osfamily to 'Debian' to execute my scripts 
>> ? 
>> > 
>> > Thanks for reading. 
>> > -- 
>> > 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...@googlegroups.com. 
>> > To post to this group, send email to puppet...@googlegroups.com. 
>> > Visit this group at http://groups.google.com/group/puppet-users?hl=en. 
>> > For more options, visit https://groups.google.com/groups/opt_out. 
>> > 
>> > 
>>
>>
>> -- 
>> Johan De Wit 
>>
>> Open Source Consultant 
>>
>> Red Hat Certified Engineer (805008667232363) 
>> Puppet Certified Professional 2013 (PCP006) 
>> _ 
>>   
>> Open-Future Phone +32 (0)2/255 70 70 
>> Zavelstraat 72  Fax   +32 (0)2/255 70 71 
>> 3071 KORTENBERG Mobile+32 (0)474/42 40 73 
>> BELGIUM http://www.open-future.be 
>> _ 
>>   
>>
>>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: Calling Defined types from classes

2013-06-07 Thread jcbollinger


On Thursday, June 6, 2013 1:41:55 PM UTC-5, Johnny Costello wrote:
>
> I am using a defined type so that I can have an array and have the defined 
> type generate a file based on each member of the array.



That's a functional view of it, at least, but it is usually more helpful 
look at Puppet manifests from the perspective of modeling the target 
configuration.  From that perspective, the situation is something like: 
"I'm using a defined type to manage several related files with content 
derived from the same template".

Don't get me wrong: this is not about you communicate the problem to us; it 
is about how you think about it yourself.  I hope to help you become a 
better puppeteer by adopting a mindset more congruent with Puppet's natural 
paradigm.

 

> However In the erb file I also have values that i want set specific to 
> that file that is generated.  
>
> When i call the defined type how do i pass in the values that i want used 
> for that file from my class.
>
>

If you are using an array of resource titles to declare all the wanted 
resources, then you don't get to pass different parameters to different 
instances.  The instances can still be customized, however, by making the 
defined type select the appropriate values from some shared data structure 
or service, using the automatic $title (or $name) variable as a key.  The 
shared data might take the form of a hash-valued class variable, it might 
reside in hiera, or it might manifest some other way.  For example:

class test {
  $my_files = ['test','test1']
  $realms = {
'test' => [ 'realm1', 'realm2' ],
'test1' => [ 'realm3', 'realm4' ]
  }
  test::proxy_realm_file { $my_files: }
}

define test::proxy_realm_file () {
  $proxy_realms = $test::realms[${title}]
  file { "/tmp/${title}":
ensure => 'file',
content => template("test/test.erb")
  } 
}

For real-world use you would probably want to externalize the data (via 
hiera, for instance); I omit that from the example to focus on the 
technique I am demonstrating.

There are several other ways to approach this, some of them quite 
different.  For example, if you restructure your defined type a bit, you 
could use the create_resources() function to declare all the wanted 
instances based on a hash of instance titles and parameters.


John

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: How to deal with DB passwords?

2013-06-07 Thread John Naggets
Thanks, I will look into Hiera to externalise all my config data.


On Friday, June 7, 2013 3:07:05 PM UTC+2, phundisk wrote:
>
> There is a utility called hiera and an extention called hiera-gpg which 
> you can use to store confidential information such as passwords in there. 
>  That way, if someone ever sees the config for the passwords, they will 
> always be encrypted.
>
> On Friday, June 7, 2013 4:28:39 AM UTC-4, John Naggets wrote:
>>
>> Hello,
>>
>> I really like Craig Dunn's roles and profiles pattern for more readable 
>> puppet config (http://de.slideshare.net/PuppetLabs/roles-talk) but I was 
>> wondering how does he deal with cases where let's say one node is a 
>> database server and some  unique or specific password needs to be assigned 
>> to a MySQL database for an application?
>>
>> Basically what I am doing now is to have a $dbpassword variable in my 
>> sites.pp file for a specific node. I then pass this variable to my 
>> mysql::db (puppetlabs-mysql module) delcaration in that node. Somehow I 
>> have the feeling this is not really best practice and wouldn't even work 
>> with Craig Dunn's design afaik. Any thoughts or best practices for this 
>> case?
>>
>> Regards,
>> John
>>
>>
>>
> _
> This email and any files transmitted with it are confidential and intended 
> solely for the addressee.  If you received this email in error, please do 
> not disclose the contents to anyone; kindly notify the sender by return 
> email and delete this email and any attachments from your system.
>
> © 2011 Currensee Inc. is a member of the National Futures Association 
> (NFA) Member ID 0403251 | Over the counter retail foreign currency (Forex) 
> trading may involve significant risk of loss. It is not suitable for all 
> investors and you should make sure you understand the risks involved before 
> trading and seek independent advice if necessary. Performance, strategies 
> and charts shown are not necessarily predictive of any particular result 
> and past performance is no indication of future results. Investor returns 
> may vary from Trade Leader returns based on slippage, fees, broker spreads, 
> volatility or other market conditions.
>
> Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: How to deal with DB passwords?

2013-06-07 Thread phundisk
There is a utility called hiera and an extention called hiera-gpg which you 
can use to store confidential information such as passwords in there.  That 
way, if someone ever sees the config for the passwords, they will always be 
encrypted.

On Friday, June 7, 2013 4:28:39 AM UTC-4, John Naggets wrote:
>
> Hello,
>
> I really like Craig Dunn's roles and profiles pattern for more readable 
> puppet config (http://de.slideshare.net/PuppetLabs/roles-talk) but I was 
> wondering how does he deal with cases where let's say one node is a 
> database server and some  unique or specific password needs to be assigned 
> to a MySQL database for an application?
>
> Basically what I am doing now is to have a $dbpassword variable in my 
> sites.pp file for a specific node. I then pass this variable to my 
> mysql::db (puppetlabs-mysql module) delcaration in that node. Somehow I 
> have the feeling this is not really best practice and wouldn't even work 
> with Craig Dunn's design afaik. Any thoughts or best practices for this 
> case?
>
> Regards,
> John
>
>
>
-- 
_
This email and any files transmitted with it are confidential and intended 
solely for the addressee.  If you received this email in error, please do 
not disclose the contents to anyone; kindly notify the sender by return 
email and delete this email and any attachments from your system.

© 2011 Currensee Inc. is a member of the National Futures Association (NFA) 
Member ID 0403251 | Over the counter retail foreign currency (Forex) 
trading may involve significant risk of loss. It is not suitable for all 
investors and you should make sure you understand the risks involved before 
trading and seek independent advice if necessary. Performance, strategies 
and charts shown are not necessarily predictive of any particular result 
and past performance is no indication of future results. Investor returns 
may vary from Trade Leader returns based on slippage, fees, broker spreads, 
volatility or other market conditions.

Currensee Inc | 54 Canal St 4th Floor | Boston, MA 02114 | +1.617.624.3824

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: Puppetd with --noop and operation with puppetrun

2013-06-07 Thread jcbollinger


On Thursday, June 6, 2013 1:29:58 PM UTC-5, Giovanni wrote:
>
> Hi,
>
> I have a puppetd 2.7 running on my server with --noop. I don't like 
> automatic updates. I have foreman and foreman-proxy. Can I run puppetrun 
> from foreman and execute updates on my server with puppetd running with 
> --noop?
>


I wouldn't think so.

 

> I want a manual updates, not automatic.
>
>
Instead of --noop, I think you want --no-client.  That will prevent the 
agent from automatically retrieving and applying catalogs, but when 
triggered via puppetrun it will apply whatever catalog it retrieves 
normally.


John

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Force osfamily value

2013-06-07 Thread Charly Mathieu
version is 1.5.9, indeed there is no osfamily
Ok, so I can consider update it. It didn't know about it, thank you, I'll 
tell you if it worked :)

Le vendredi 7 juin 2013 14:25:34 UTC+2, Johan De Wit a écrit :
>
> My first thought, 
>
> facter version to old ? 
>
> Older ones do not have osfamily 
>
> check with 
>
> facter osfamily 
> facter facterversion 
>
>
>
>
> On 06/07/2013 11:43 AM, Charly Mathieu wrote: 
> > Hello, 
> > I'm working with community modules, and using recompiled kernel ubuntu 
> > machines. 
> > The problem is that the modules can't recognize the osfamily. (He got 
> > the operatingsystem atleast.) 
> > 
> > Can I force the value of the osfamily to 'Debian' to execute my scripts 
> ? 
> > 
> > Thanks for reading. 
> > -- 
> > 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...@googlegroups.com . 
> > To post to this group, send email to 
> > puppet...@googlegroups.com. 
>
> > Visit this group at http://groups.google.com/group/puppet-users?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>
> -- 
> Johan De Wit 
>
> Open Source Consultant 
>
> Red Hat Certified Engineer (805008667232363) 
> Puppet Certified Professional 2013 (PCP006) 
> _ 
>   
> Open-Future Phone +32 (0)2/255 70 70 
> Zavelstraat 72  Fax   +32 (0)2/255 70 71 
> 3071 KORTENBERG Mobile+32 (0)474/42 40 73 
> BELGIUM http://www.open-future.be 
> _ 
>   
>
>

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Puppet Users] Force osfamily value

2013-06-07 Thread Johan De Wit

My first thought,

facter version to old ?

Older ones do not have osfamily

check with

facter osfamily
facter facterversion




On 06/07/2013 11:43 AM, Charly Mathieu wrote:

Hello,
I'm working with community modules, and using recompiled kernel ubuntu 
machines.
The problem is that the modules can't recognize the osfamily. (He got 
the operatingsystem atleast.)


Can I force the value of the osfamily to 'Debian' to execute my scripts ?

Thanks for reading.
--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer (805008667232363)
Puppet Certified Professional 2013 (PCP006)
_
 
Open-Future Phone +32 (0)2/255 70 70

Zavelstraat 72  Fax   +32 (0)2/255 70 71
3071 KORTENBERG Mobile+32 (0)474/42 40 73
BELGIUM http://www.open-future.be
_
 


--
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: Certificate problems

2013-06-07 Thread Andthepharaohs
Thanks Dan (I'm running puppet) and Nan - I regenerated the certificate, 
but still had problems - removing the ssl directory was not a good idea! 
I've decided to reinstall from scratch, as I can then ensure a clean system 
and document the details. I will close this when I have it up and running, 
but it may be a while as I'm being diverted to other work and am holiday 
soon.

Thanks for your prompt help!

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Force osfamily value

2013-06-07 Thread Charly Mathieu
Hello,
I'm working with community modules, and using recompiled kernel ubuntu 
machines.
The problem is that the modules can't recognize the osfamily. (He got the 
operatingsystem atleast.)

Can I force the value of the osfamily to 'Debian' to execute my scripts ?

Thanks for reading.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] How to deal with DB passwords?

2013-06-07 Thread John Naggets
Hello,

I really like Craig Dunn's roles and profiles pattern for more readable 
puppet config (http://de.slideshare.net/PuppetLabs/roles-talk) but I was 
wondering how does he deal with cases where let's say one node is a 
database server and some  unique or specific password needs to be assigned 
to a MySQL database for an application?

Basically what I am doing now is to have a $dbpassword variable in my 
sites.pp file for a specific node. I then pass this variable to my 
mysql::db (puppetlabs-mysql module) delcaration in that node. Somehow I 
have the feeling this is not really best practice and wouldn't even work 
with Craig Dunn's design afaik. Any thoughts or best practices for this 
case?

Regards,
John


-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Puppet Users] Re: mcollective setup question

2013-06-07 Thread Richard Knight
Anybody else had any luck solving this? I've tried on 3 separate boxes now 
all seem to suffer the same problem, and the logs are somewhat unhelpful is 
tracking down why this is occurring.

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.