Re: [Puppet Users] Can recipe variables be set at the command line?

2010-06-08 Thread chuck clark
Thanks Nigel. On Tue, Jun 8, 2010 at 1:37 PM, Nigel Kersten wrote: Just to clarify and document for others who may arrive here from Google in search of an answer to a similar question... > > > FACTER_somevar=2.1 puppetd --test > > will expose $somevar=2.1 to your manifests > > This does indeed

[Puppet Users] Can recipe variables be set at the command line?

2010-06-08 Thread chuck clark
I'd like to be able to override or set a variable from the command line. Is this possible? The only discussion I've been able to stumble upon is this feature/issue: http://projects.puppetlabs.com/issues/1411 My use case is the following: I have a specific version of an artifact installed in my

Re: [Puppet Users] Is anyone managing Glassfish configuration with puppet?

2010-03-22 Thread chuck clark
> > I think a custom resource to drive asadmin is probably the right way to go. > What version are you using? > As of Glassfish v3 there's a good REST API ( v3asadmin is essentially > a http client). > See the article here: > > http://blogs.sun.com/aquatic/entry/glassfish_rest_interface_for_managem

[Puppet Users] Is there an approach to pre and post notify for changes to a file?

2010-03-22 Thread chuck clark
I'm using puppet 0.25.2 in a RHEL5 environment and Glassfish is one of the resources under management. Managing the Glassfish configuration is proving troublesome. I have a glassfish module with a glassfish class which has the following file resource definition: "/opt/glassfish/domains/pulse

[Puppet Users] Is anyone managing Glassfish configuration with puppet?

2010-01-28 Thread chuck clark
Has anyone found a clean way to manage Glassfish configuration with puppet? Glassfish was designed to be managed through a WebUI or a CLI tool known as asadmin. Making changes using these tools modifies a domain.xml file. Glassfish reads and writes this file every time it restarts, even if the c