[Puppet Users] Re: lookup $confdir within a function

2011-12-14 Thread nothings_absolute
Should have looked at this more closely before posting... :) Obvious Answer after looking at the code: confdir = Puppet.settings.value('confdir') On Dec 14, 4:12 pm, nothings_absolute wrote: > I will try to make this short... I need to determine what the absolute >

[Puppet Users] lookup $confdir within a function

2011-12-14 Thread nothings_absolute
I will try to make this short... I need to determine what the absolute path is to the module base directory from within a function. So far I have found that I can use the following to get part of it: env = lookupvar('environment').to_sym env_path = Puppet.settings.instance_variable_get

[Puppet Users] Re: Custom type and provider

2011-08-22 Thread nothings_absolute
to be difficult. Thank you On Aug 18, 2:31 pm, nothings_absolute wrote: > I have been messing with this for a while and have had no luck so > hoping someone here can help. > > I created a customer type called autofs and a provider that uses > ParsedFile to parse the auto_direct file accor

[Puppet Users] Custom type and provider

2011-08-18 Thread nothings_absolute
I have been messing with this for a while and have had no luck so hoping someone here can help. I created a customer type called autofs and a provider that uses ParsedFile to parse the auto_direct file according to what I found here: http://www.kartar.net/2010/02/puppet-parsedfile-types-and-provid

[Puppet Users] Re: passenger error logging

2009-10-26 Thread nothings_absolute
hing works fine using the built-in web server... I am hoping to get some idea of what is going on from the puppetmasterd logs (If I can get debug level output to work). Thanks On Oct 26, 3:19 pm, Charles Johnson wrote: > On Mon, Oct 26, 2009 at 3:28 PM, nothings_absolute > wrote:

[Puppet Users] passenger error logging

2009-10-26 Thread nothings_absolute
Can anyone tell me how to configure apache + passenger + puppetmasterd to write out the puppet server logs somewhere (apache server log is fine). Right now I don't get any errors from puppetmasterd and it is making it very difficult to resolve my problems. I have tried uncommenting "--debu

[Puppet Users] Re: Passenger Woes

2009-10-26 Thread nothings_absolute
Did anyone find a resolution to this problem? I am getting the same thing with Solaris and have tried both 2.2.2 and 2.2.5 and get "Error 400 on SERVER: Bad Request" with both versions. passenger-status seems to work properly: passenger-status --- General information --- max

[Puppet Users] Re: List of puppet builtin variables apart from those from facter

2009-10-20 Thread nothings_absolute
I guess I never noticed that the other variables were missing from that file! I guess I can't help out here. On Oct 20, 4:01 pm, James Turnbull wrote: > 2009/10/21 nothings_absolute : > > > > >   You can look in the yaml files on the puppet master to get a list &

[Puppet Users] Re: List of puppet builtin variables apart from those from facter

2009-10-20 Thread nothings_absolute
You can look in the yaml files on the puppet master to get a list and examples of each variable. I am not sure where these are on your system (depends on how it is installed), but you should have one for each host within /var/??? and probably inside a "yaml" subdirectory. Here is an example of

[Puppet Users] Re: Stuck with puppet

2009-10-20 Thread nothings_absolute
If you run puppetd with the "--test" and "--debug" options you should be able to see that resource being applied (Or not). It could be that an error in one of these files will be obvious with the output from running it manually with these options. On Oct 20, 11:24 am, Renato Tuveri wrote:

[Puppet Users] Re: Passenger 2.2.5

2009-10-20 Thread nothings_absolute
2.2.4 and found that it doesn't work either (I get the same error message). Thanks! Soren On Oct 20, 2:35 pm, Matt wrote: > Have you tried with passenger 2.2.2? > > 2009/10/20 nothings_absolute : > > > > > > > 1st off sorry this is so long... I didn't see

[Puppet Users] Passenger 2.2.5

2009-10-20 Thread nothings_absolute
1st off sorry this is so long... I didn't see any way to attach files when creating the discussion. I am trying to get my puppetmaster (0.25.0) working with passenger (2.2.5) on Solaris (It works fine using webrick). At this point I think it "should" work, but get a 400 error (Located below) when

[Puppet Users] Excluding .svn directories with recursive file management

2009-02-03 Thread nothings_absolute
Hello, I have a directory with subdirectories and files managed by puppet and keep all contents in subversion. I use a subversion tag to check these files out as my source on the puppet master. I then have a class set up to manage the base directory using the recusive option. The problem i