[Puppet Users] Exported resources

2014-05-13 Thread Toky
Hello all, I have the following code I use to populate /etc/hosts : # This module will gather hostnames and IPs in order to populate hosts files class hosts { host { 'localhost.localdomain': ensure=> present, ip=> '127.0.0.1', host_aliases => [ 'localhost' ],

[Puppet Users] restarting apache as a service using mcollective

2014-05-13 Thread Ankit Mittal
Dear All, I have mcollective agent running on multiple web server on which apache is installed. I want to stop and start apache using mcollective like we run puppet agent on nodes using mcollective. Thanks Ankit Mittal -- You received this message because you are subscribed to the Google Gro

[Puppet Users] Re: Puppet and Mcollective yaml file changing when it shouldn't

2014-05-13 Thread Robert Reilly
ruby version 1.8.7... On Tuesday, May 13, 2014 1:00:05 PM UTC-4, Robert Reilly wrote: > > All, I found this post as I was having the same issue. I added the > template and the first run it buckets the file because it is once again > changed but not the second time, the third time it runs it comp

[Puppet Users] Re: Puppet and Mcollective yaml file changing when it shouldn't

2014-05-13 Thread Robert Reilly
All, I found this post as I was having the same issue. I added the template and the first run it buckets the file because it is once again changed but not the second time, the third time it runs it complains it cannot Filebucket the file because it exists. here is the template <%= facts = scop

Re: [Puppet Users] puppet resource (ral) calls validate on custom (network_device) type

2014-05-13 Thread Taylan Develioglu
Ah the semicolon is a copypaste that snuck in, please ignore it. On Tue, May 13, 2014 at 3:53 PM, David Schmitt wrote: > On 2014-05-13 15:05, Taylan Develioglu wrote: > >> root@traveler:~# >> FACTER_url='https://username:passw...@loadbalancer.example.com/'; >> puppet resource f5_node >> > > FA

Re: [Puppet Users] Facter resolved to an invalid value

2014-05-13 Thread Viktor Jevdokimov
Thanks! 2014-05-13 17:49 GMT+03:00 David Schmitt : > On 2014-05-13 16:34, Viktor Jevdokimov wrote: > >> On some CentOS servers we started to receive an error: >> >> Fact resolution fact='env', resolution='' resolved to an >> invalid value: Expected prod to be one of [Integer, Float, TrueClass, >

Re: [Puppet Users] Facter resolved to an invalid value

2014-05-13 Thread Andreas Ntaflos
On 2014-05-13 16:34, Viktor Jevdokimov wrote: > On some CentOS servers we started to receive an error: > > Fact resolution fact='env', resolution='' resolved to an > invalid value: Expected prod to be one of [Integer, Float, TrueClass, > FalseClass, NilClass, String, Array, Hash], but was Symbol

Re: [Puppet Users] Facter resolved to an invalid value

2014-05-13 Thread David Schmitt
On 2014-05-13 16:34, Viktor Jevdokimov wrote: On some CentOS servers we started to receive an error: Fact resolution fact='env', resolution='' resolved to an invalid value: Expected prod to be one of [Integer, Float, TrueClass, FalseClass, NilClass, String, Array, Hash], but was Symbol Welcome

[Puppet Users] Facter resolved to an invalid value

2014-05-13 Thread Viktor Jevdokimov
On some CentOS servers we started to receive an error: Fact resolution fact='env', resolution='' resolved to an invalid value: Expected prod to be one of [Integer, Float, TrueClass, FalseClass, NilClass, String, Array, Hash], but was Symbol Custom fact script: Facter.add('env') do setcode do

Re: [Puppet Users] puppet resource (ral) calls validate on custom (network_device) type

2014-05-13 Thread David Schmitt
On 2014-05-13 15:05, Taylan Develioglu wrote: root@traveler:~# FACTER_url='https://username:passw...@loadbalancer.example.com/'; puppet resource f5_node FACTER_url='https://username:passw...@loadbalancer.example.com/'; puppet resource f5_node '/TestPartition2000/TestNode2000' ensure=present ip

Re: [Puppet Users] puppet kick not working

2014-05-13 Thread David Schmitt
Hi, the auth.conf change has to go on the kicked node, not on the master. Regards, David On 2014-05-13 11:18, Suresh P wrote: Hi, I'm using puppet version 3.5. I'm getting following error while running ]# puppet kick 172.20.6.22 Warning: Puppet kick is deprecated. See http://links.puppetl

[Puppet Users] Re: puppet resource (ral) calls validate on custom (network_device) type

2014-05-13 Thread Taylan Develioglu
Attached type and provider. -- 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

[Puppet Users] Re: Puppet User Administration, set password only at creating of user-accounts

2014-05-13 Thread jcbollinger
On Monday, May 12, 2014 10:44:09 AM UTC-5, William Thomas wrote: > > Is there an issue with using subscribe? So in my virtual resource > definition I have: > > define accounts::virtual ($uid,$realname,$pass) { > > user { $title: > ensure=> 'present', > uid =

[Puppet Users] puppet resource (ral) calls validate on custom (network_device) type

2014-05-13 Thread Taylan Develioglu
Hi everyone, I am writing a custom network device type and ran into some behavior I'm not sure how to work around. When running puppet resource to get all instances of a network_device type, validate is called. (Note: this is not the same resource type from the puppetlabs-f5 module.) I get th

Re: [Puppet Users] Is --noop supposed to override noop param?

2014-05-13 Thread jcbollinger
On Monday, May 12, 2014 1:06:34 PM UTC-5, Jakov Sosic wrote: > > On 05/12/2014 03:16 PM, Christopher Wood wrote: > > I get the same behaviour in 3.4.3, however: > > > > "The noop setting allows you to globally enable or disable noop mode, > but it will not override the noop metaparameter on i

[Puppet Users] puppet kick not working

2014-05-13 Thread Suresh P
Hi, I'm using puppet version 3.5. I'm getting following error while running ]# puppet kick 172.20.6.22 Warning: Puppet kick is deprecated. See http://links.puppetlabs.com/puppet-kick-deprecation Warning: Failed to load ruby LDAP library. LDAP functionality will not be available Triggering 1