Re: [Puppet Users] Re: Are multiple environments broken in puppet?

2013-07-03 Thread David Schmitt
On 03.07.2013 00:26, Jakov Sosic wrote: On 05/09/2013 03:33 PM, jcbollinger wrote: Principally, trouble with environments revolves around modules that provide native components (types, providers, or functions) that are not uniform across all defined environments. So, if I have prod and dev en

Re: [Puppet Users] Packages on fedora19

2013-07-03 Thread Pete Brown
On 4 July 2013 14:06, Michael Stahnke wrote: > On Wed, Jul 3, 2013 at 4:24 PM, Pete Brown wrote: >> I was just wondering the same thing. >> My dev environment runs in Fedora 18 and I almost upgraded yesterday >> but thought some testing was in order first. >> >> I am likely to do what I did last

Re: [Puppet Users] Packages on fedora19

2013-07-03 Thread Michael Stahnke
On Wed, Jul 3, 2013 at 4:24 PM, Pete Brown wrote: > I was just wondering the same thing. > My dev environment runs in Fedora 18 and I almost upgraded yesterday > but thought some testing was in order first. > > I am likely to do what I did last time and try installing the versions > from the previ

Re: [Puppet Users] Packages on fedora19

2013-07-03 Thread Matthaus Owens
We will be working to add fedora 19 support to yum.puppetlabs.com in the coming month, and will probably have current packages built for f19 next week. I'll respond back to this thread when they are all ready. On Wed, Jul 3, 2013 at 4:24 PM, Pete Brown wrote: > I was just wondering the same thing

[Puppet Users] Re: Can a type-provider 'require' other files? Do all files in the type-provider tree get sent to the agent?

2013-07-03 Thread Larry Fast
Thanks, yes it was that simple. It would have worked first time if I just had put the file in the provider folder instead of the type folder. Doh! Cheers, Larry -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group an

[Puppet Users] Re: Can a type-provider 'require' other files? Do all files in the type-provider tree get sent to the agent?

2013-07-03 Thread liu.cy
http://docs.puppetlabs.com/guides/plugins_in_modules.html put it in your modules's lib directory, and it will be transfered to client i think. On Thursday, July 4, 2013 6:23:11 AM UTC+8, Larry Fast wrote: > > I'm turning an existing ruby script into a type-provider pair. My first > desire was to

Re: [Puppet Users] Copy script from source -> run it -> delete it again

2013-07-03 Thread Pete Brown
Hi, So from a guess based on the name of the script it installs some javascript file somewhere. Am I correct? With maybe something extra like optimising it afterwards? Is there any reason you can't optimize that file and get puppet to "install" it on your node? This will give you a whole lot more

Re: [Puppet Users] Packages on fedora19

2013-07-03 Thread Pete Brown
I was just wondering the same thing. My dev environment runs in Fedora 18 and I almost upgraded yesterday but thought some testing was in order first. I am likely to do what I did last time and try installing the versions from the previous release. I will be running up a Fedora 19 vm and install p

[Puppet Users] Can a type-provider 'require' other files? Do all files in the type-provider tree get sent to the agent?

2013-07-03 Thread Larry Fast
I'm turning an existing ruby script into a type-provider pair. My first desire was to simply 'require' the original ruby file in the new provider file. Unfortunately my ruby file doesn't get downloaded from master to agent. Is there something reasonably simple I can do to ensure that this fil

[Puppet Users] puppet module search using an HTTP proxy

2013-07-03 Thread root
Can anyone confirm that PE 3.0 supports this? I exported $http_proxy correctly, I beleive. $ puppet module search something Notice: Searching *https://forge.puppetlabs.com*... Error: Could not connect to *https://forge.puppetlabs.com*

[Puppet Users] Packages on fedora19

2013-07-03 Thread Tony G.
Howdy! Probably this is being worked but just throwing it out there as f19 is already out, I guess the package for it will be soon available on http://yum.puppetlabs.com/fedora/ ? Thanks! -- Tony http://tonyskapunk.net -- You received this message because you are subscribed to the Google Grou

Re: [Puppet Users] Postfix/Dovecot modules supporting virtual domains/users?

2013-07-03 Thread Ramin K
On 7/3/2013 9:08 AM, Brendan Murtagh wrote: Hello, In our environment, we are running Postfix/Dovecot with virtual domains and users. I tried searching on the Forge, but have been unable to come across a module that I don't believe supports this type of setup utilizing a MySQL backend. Is anyon

[Puppet Users] Deploy config file for custom reports

2013-07-03 Thread Daniel Scott
Hi, I've written a custom report which just makes an HTTP call to one of my servers so that I can log the event. The report installs itself when the puppetmaster puppets itself. The report script is copied from $MODULE_NAME/lib/puppet/reports/callback.rb into the puppetmaster's /var/lib/puppet

[Puppet Users] puppet enterprise fresh install

2013-07-03 Thread bryon
So I just installed puppet enterprise 3.0 on a centos 6 server. Everything went smoothly during the install, and then I logged into the console and I get a error for the server it's self. "Could not retrieve facts from inventory service: 400 "Bad Request"" I could not figure out why the loca

[Puppet Users] Certificate errors

2013-07-03 Thread yannig rousseau
Hi all, I launched a Puppet service a few month ago and it did function pretty well for some time. Last week, I tried to clean old entries but I think I deleted too much information as I can no more synchronize my clients. I get a certificate error : *[root@REBITPUPPET01 ~]# puppet agent --tes

[Puppet Users] Postfix/Dovecot modules supporting virtual domains/users?

2013-07-03 Thread Brendan Murtagh
Hello, In our environment, we are running Postfix/Dovecot with virtual domains and users. I tried searching on the Forge, but have been unable to come across a module that I don't believe supports this type of setup utilizing a MySQL backend. Is anyone able to recommend a module that exists th

[Puppet Users] Re: Weird encoding error: "0xF3" to UTF-8 in conversion from ASCII...

2013-07-03 Thread Álvaro Acción - CiTIUS
I've confirmed it's not the time/date sync. It's not a firewall. It's not the software version, it does not work in 3.0, 3.2.2 or even 3.2.3-rc1. Can it be the domain in which machines are? The windows one has no domain asociated. I don't see how can this relate to the error but... The error is

Re: [Puppet Users] variables inside variable names

2013-07-03 Thread Nan Liu
On Tue, Jul 2, 2013 at 5:53 PM, Schofield wrote: > Given > > class java::jdk_1_7_u10{ > home=/usr/java/jdk-1.7.0-10 > } > > $java = jdk_1_7_u10 > $java_home = ${java::$java::home} > > I would like $java_home to be equal to /usr/java/jdk-1.7.0-10. Is there > an elegant way to make this work? W

Re: [Puppet Users] How to restart Apache server instances (running on nodes) with Puppet & MCollective ?

2013-07-03 Thread Jakov Sosic
On 05/12/2013 09:50 PM, Shreejit Nair wrote: > 1) How can I make puppet & mcollective work together to call a puppet > script placed on server to execute commands on other Nodes (In which > puppet agent is installed) ? If you want to see what nodes respond to mcollective: # mco ping To see wha

Re: [Puppet Users] How to: In nodes.pp - point "node" to hostnames in a file

2013-07-03 Thread Dick Davies
Sounds like you might want to look at using an ENC - see: http://docs.puppetlabs.com/guides/external_nodes.html On 2 July 2013 19:30, Dax Jack wrote: > I am working on a project that involves host names with now sequence to > them. > > I would like my "node" hostnames in nodes.pp to point to a

[Puppet Users] Re: PSON and JSON

2013-07-03 Thread bjoern pohl
Seems that I had my Head in the sand... to close this: puppet sends a valid json structure, but there's just one key ("values") returning a simle ruby hash: When having received a response ( with activeRessource or her) all it takes to get the values is: #"Puppet" is a module connected to my pu

[Puppet Users] Passenger serving both direct and proxied clients (security standpoint)

2013-07-03 Thread pdpinfo
Hi Puppetmasters, I have a working configuration of a "standard" passenger/puppet setup to which I added a second virtual host to be accessed only via reverse proxy (mod_proxy). Passenger and mod_proxy are on different servers. The scenario is: direct: client --(ssl)--> passenger:8140 proxied: c

Re: [Puppet Users] Re-create my.cnf when using Puppet MySQL module

2013-07-03 Thread Nikola Petrov
You can use custom settings that will be put in /etc/mysq/conf.d/ and will be included in you setup by overriding any setting in my.cnf. Here is an example from our setup: mysql::server::config{ 'my-cool-settings': settings => { 'mysqld'

Re: [Puppet Users] Puppet for Cassandra cluster automation

2013-07-03 Thread Nikola Petrov
I like to use fabric[1] for this. I always think that some things are better done with push tools like fabric instead of pull tools like puppet. Of course there are other tools that solve the same problem and are based on other languages - I just like python [1] http://docs.fabfile.org/en/latest/

Re: [Puppet Users] variables inside variable names

2013-07-03 Thread Nikola Petrov
I think that you are having a problem here because $java is not expanded/interpolated as a variable and the template solves it. You can safely use the fully qualified name and this should work: $java_home = ${java::jdk_1_7_u10::home} Of course if you want to use $java as a variable you will have