Re: [Puppet Users] dynamic hiera_config setting

2013-08-13 Thread jamese
Hi Pablo, Thanks for the response. I've tried setting the environment in the master section, the agent section, the main section. Regardless of whether I set the environment anywhere in the masters puppet.conf, it always looks for the hiera.yaml file in the production directory. I was hoping

Re: [Puppet Users] Puppet Managing Symlink

2013-08-13 Thread Puppet List
Hello Are your target and file are the wrong way round? On 13 Aug 2013 01:22, "chengkai liang" wrote: > Hi Everybody, > >So I have design a puppet module that will create a symlink under a > given directory, and here's the module and a hiera, and fact data: > > Hiera data > --- > confluence

Re: [Puppet Users] Puppet Managing Symlink

2013-08-13 Thread chengkai liang
I guess I am. I just figure what went wrong there!! On Aug 12, 2013, at 10:51 PM, Puppet List wrote: > Hello > > Are your target and file are the wrong way round? > > On 13 Aug 2013 01:22, "chengkai liang" wrote: > Hi Everybody, > >So I have design a puppet module that will create a sy

[Puppet Users] Re: Copying multiple files to multiple locations

2013-08-13 Thread jcbollinger
On Friday, August 9, 2013 9:06:42 AM UTC-5, Matthijs Suringa wrote: > > Hi, > > I'm, still relatively new to Puppet, so there might be something I am > overlooking. > Anyway, my situation is that I can install 1 or multiple tomcat instances > on a machine, and in order for me to ensure that the

[Puppet Users] Re: node_aws installation problem

2013-08-13 Thread Piotr Jasiulewicz
Hi, fair enough, what I was trying to say, was my disappointment on how the cloud provisioning project was being lead (basically nothing happens in the project for months, as you can see in their redmine). Of course puppet is a great piece of software and I don't deny that it is mostly my inexp

[Puppet Users] Revert the puppet changes

2013-08-13 Thread ravindra . asct
Dear Team, I have made the changes to one of the main environment through the command puppet agent --test When i ran this command there were several changes made to that environment. After checking i got to know that puppet was stopped for that environment as the team was implementing new chang

Re: [Puppet Users] Passenger-Rack error 500: no such file to load -- rack

2013-08-13 Thread Larry Fast
Thanks Denmat, It was probably crosstalk between gems and RPMs. Turns out that the rubygems RPM was missing some files. Likely cause was accidentally installing and uninstalling rubygems via non-rpm. Reinstalling the RPM fixed the problem. For the benefit of others, here's how we found the p

[Puppet Users] Collector not realizing own exported resources when filtering on tags

2013-08-13 Thread Chuck Bredestege
I'm trying to create a ssh class where the /etc/ssh/ssh_known_hosts and /etc/ssh/shosts.equiv stays updated. The issue i'm finding is that if I include a "tag == anything" in the Collector filter, it collects all resources EXCEPT it's own. In this case, the known_hosts and .equiv files will h

[Puppet Users] Re: Revert the puppet changes

2013-08-13 Thread Ellison Marks
There's not really an automated way of reverting puppet's changes, as far as I know. On the other hand, by default puppet stores reports in /var/lib/puppet/reports/(hostname) on the master, so you can find the report for the run you did (they're named by date, generally, eg. 201308122117.yaml),

[Puppet Users] Re: puppet agent --test errors

2013-08-13 Thread Pablo Carranza
What are the contents of */etc/puppetdb/conf.d/jetty.ini*? -Pablo On Wednesday, July 10, 2013 9:03:39 AM UTC-5, Joseph Mwesigwa Bbaale wrote: > > Hello puppet-users. > ... > > Today I decided to redo the setup, on a different machine. But after > installing the puppet-master component, the "pupp

[Puppet Users] Re: introducing puppetboard 0.0.1

2013-08-13 Thread Ellison Marks
So I finally got the time to get this going, and it is indeed, very cool. One hitch though: I grabbed the source from github, and most things seemed to work, but the overview page errored out. It seems that it was using python 3 syntax for it's format strings on line 86 and 88. 86: 'avg_resourc

[Puppet Users] Re: introducing puppetboard 0.0.1

2013-08-13 Thread Ellison Marks
Er, excuse me, I misspoke. As it is it relies on having python 2.7+, not 3 for the formatting. Still, the Redhat family, by default, is still on 2.6. On Tuesday, August 13, 2013 12:13:17 PM UTC-7, Ellison Marks wrote: > > So I finally got the time to get this going, and it is indeed, very cool.

[Puppet Users] params pattern when writing modules

2013-08-13 Thread Ellison Marks
So, I've been looking into the params pattern for writing modules, ie. having a params.pp file that init.pp inherits from as a place to use custom logic to set variables, and it seems very useful. I do have one question that I'm hoping someone can answer. If, for example, I look at an example42

Re: [Puppet Users] params pattern when writing modules

2013-08-13 Thread Ashley Penney
As one of the two new maintainers of all Puppetlabs modules I can tell you for sure that our intent is to make sure everything in init.pp inherits out of params.pp instead of declaring them directly in the main class, and if you're kind enough and can throw a github issue up for any cases you notic

[Puppet Users] Got a SOGo Puppet module?

2013-08-13 Thread Pablo Carranza
Has anyone taken a stab at putting together a Puppet module to install and/or manage SOGo -- a very fast and scalable collaboration suite (groupware) that offers calendaring, address book management & a full-featured WebMail client? With th

[Puppet Users] Puppet Enterprise VMs issue upon restart

2013-08-13 Thread jdmanley87
Installed Puppet Enterprise 3.0.0 on two Ubuntu 12.04 VMs created through Oracle VirtualBox. Networking is bridged mode through laptop's ethernet adapter so VMs are on the same corporate subnet as the actual host. During the same run of the VMs as the install of puppet master and agent, was ab

[Puppet Users] Re: Revert the puppet changes

2013-08-13 Thread ravindra . asct
Thanks a lot Ellison for the valuable tip and your kind help On Tuesday, August 13, 2013 6:31:41 PM UTC+1, Ellison Marks wrote: > > There's not really an automated way of reverting puppet's changes, as far > as I know. On the other hand, by default puppet stores reports in > /var/lib/puppet/rep

Re: [Puppet Users] params pattern when writing modules

2013-08-13 Thread Ellison Marks
Ah, good to know. I'll file some tickets as I come across instances of this. On Tuesday, August 13, 2013 2:47:43 PM UTC-7, Ashley Penney wrote: > > As one of the two new maintainers of all Puppetlabs modules I can tell you > for sure that our intent is to make sure everything in init.pp inherits

Re: [Puppet Users] dynamic hiera_config setting

2013-08-13 Thread Henrik Lindberg
On 2013-13-08 24:25, jamese wrote: Hi Pablo, Thanks for the response. I've tried setting the environment in the master section, the agent section, the main section. Regardless of whether I set the environment anywhere in the masters puppet.conf, it always looks for the hiera.yaml file in the pr

[Puppet Users] Problem with variable scope in Defined Types

2013-08-13 Thread Dan White
I have a problem with variables in defined types. I have dug a hole consisting of three levels of nested defines as in --- class users { ... } --- define users::useraccount ( $username= $name, $uid

Re: [Puppet Users] install xen-desktop with AD Domain user with windows system user

2013-08-13 Thread Josh Cooper
On Mon, Jul 29, 2013 at 12:38 AM, nan wrote: > While login to windows with local administrator and install xendesktop > with AD administrator account, it's successful, below is what i have done: > > $adPassword= convertto-securestring "password" -asplaintext -force > $adCredObject = new-object -t