[Puppet Users] Setting requirements using collection -vs- before/require meta-parameters

2011-06-24 Thread Jon Jaroker
Hello, Could someone explain why a relationship implemented with a collection is honored by Puppet, but a 'before' or 'require' meta-parameter fails for the example below. --- THIS WORKS -- Nfs::Client <| |> -> Class['myclass'] class { 'myclass': } nfs::client { '/share':} --

[Puppet Users] Re: Setting requirements using collection -vs- before/require meta-parameters

2011-06-27 Thread Jon Jaroker
few days. I believe my syntax is right and that the issue is specific to the dependency. I wonder if a timeout is occurring before the NFS share is mounted, but this timeout failure is not being reported. I am not sure how to isolate the issue further, but the workaround has been OK. Regards, Jon

[Puppet Users] Re: Setting requirements using collection -vs- before/require meta-parameters

2011-06-29 Thread Jon Jaroker
> > So it looks like we have a bug that I'm still trying to find in the > database, and I think it might be affecting you. > > If you have a class that only declares other classes in it, and doesn't have > any resources in it, then it gets removed from the dependency graph. > Hello Nigel, To tes

[Puppet Users] 'requires' dependency in file-fragments pattern was not honored

2011-07-20 Thread Jon Jaroker
Hello, I was wondering if anyone can spot the mistake I am making in the file-fragments pattern below. I am assembling the sudo file using fragments, with a "validate check file" step that confirms if the assembled file is valid. The '/etc/sudoers' file should only be overwritten if the check fi

[Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-21 Thread Jon Jaroker
Hello Alessandro, I relocated the dependency declaration into the native types and also removed two stray semi-colons. After reviewing the dot graph, I also made "Secure Check File" a dependency of "Validate Check File". The updated class is below. Puppet still does not honor the "Validate Chec

[Puppet Users] Re: How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-15 Thread Jon Jaroker
Hello Jon, Here is a process that I follow to avoid the type of misconfiguration problem you encountered. This process is used to *avoid* the mis- configured system problem. It is not a direct test that Puppet will generate a valid configuration file from a template. 1) A "local" environment is

[Puppet Users] Re: How to use Puppet to ensure the Sun JDK is installed on CentOS-5.5

2011-04-12 Thread Jon Jaroker
I have the same requirement to install Sun JDK, not openJDK. Below is the module I am using. I would be grateful for suggestions on how this install can be done better. Thank you, Jon class java { package {"java-1.6.0-openjdk": ensure => absent, } exec {"java_install":

[Puppet Users] nginx-passenger authentication / certificate issue

2012-07-12 Thread Jon Jaroker
Hello, I have been stumped by an authentication / certificate problem and would like to know if anyone has resolved a similar issue. My fresh install of Puppet Master 2.7.18 on Debian 6 works normally when run standalone, using 'puppet master --verbose --no-daemonize'. When using nginx-passenger

[Puppet Users] Re: nginx-passenger authentication / certificate issue

2012-07-12 Thread Jon Jaroker
headers. > > -Jeff > > > > > > > > On Thu, Jul 12, 2012 at 7:34 AM, Jon Jaroker wrote: > > > Hello, I have been stumped by an authentication / certificate problem > > and would like to know if anyone has resolved a similar issue. > > > My fre

Re: [Puppet Users] Puppet can't start service (dropbox) but init.d command works manually

2013-09-14 Thread Jon Jaroker
Ashley, Thanks for reporting the solution. I was just struggling with the same odd behavior. My setup automatically inserts "puppet managed" comments at the top of all templates, but this breaks init scripts (at least in Debian). Jon ===== Jon Jaroker http://jaroker.com

[Puppet Users] Re: Error 400 on SERVER: No such file or directory - getcwd

2013-12-10 Thread Jon Jaroker
I debugged this same 400 error with 'getcwd' in my 2.7.18 version of puppet. I did not find useful information through web searches, so posted my debugging steps here: http://jaroker.com/?p=2036 In my case, the puppet master had been operating normally for over a year. I had recently updated m

[Puppet Users] Puppet 2.7.23 error "Could not set present on ensure: Function not implemented"

2014-01-28 Thread Jon Jaroker
Hello, I was wondering if anyone can give me a pointer on how to solve an ambiguous Puppet error "Function not implemented" when attempting to create a file using the 'file' resource type. The '--debug' flag does not produce useful information. My puppet manifests work fine on several other ph

[Puppet Users] Re: What is the convention used if I want to pull content from source-control for populating a manifest resource?

2014-01-28 Thread Jon Jaroker
The URI scheme for 'source' is either 'puppet' or 'file'. Here is the man page: http://docs.puppetlabs.com/references/latest/type.html#file-attribute-source To pull from a repository, you should use a subversion manifest that implements checkout. Jon On Monday, January 27, 2014 1:45:30 PM

[Puppet Users] Error Message: Could not set present on ensure: Function not implemented

2014-01-29 Thread Jon Jaroker
Hello, Would anyone know what the error message "Could not set present on ensure: Function not implemented" means. It is appearing in Puppet 2.7.13 on a File resource type. The --debug flag does not give any hints. The complete manifest triggering this error is located here: http://jaroke

Re: [Puppet Users] Re: Error Message: Could not set present on ensure: Function not implemented

2014-02-07 Thread Jon Jaroker
location. The new define includes a 'proxmox_workaround' flag to handle this special case. I updated the wiki page to show this workaround: http://jaroker.org/technical_notes/issues/software/puppet/start Regards, Jon --- Jon Jaroker http://jaroker.com On Thu, Jan 30, 2014 at 9:

[Puppet Users] Puppet8 'lookup' fails when Puppet7 succeeds

2023-08-23 Thread Jon Jaroker
I am migrating from puppet 7 to puppet 8 by first updating servers in a staging environment (which is operating puppet version 8.1.0). While debugging hiera, I notice the following unusual behavior with the puppet lookup command. In the production environment running puppet 7.25.0, the followi