[Puppet Users] Test if stored config is enabled?

2010-07-29 Thread dom
Hi I'd like to be able to test if stored config is enabled and active, and if not then react (eg. notice or die). Is there any way of doing this? Thanks Dom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group

[Puppet Users] Re: Test if stored config is enabled?

2010-08-04 Thread dom
e knows if it is possible? thanks dom On Jul 29, 4:37 pm, dom wrote: > Hi > > I'd like to be able to test if stored config is enabled and active, > and if not then react (eg. notice or die). > > Is there any way of doing this? > > Thanks > Dom -- You received

[Puppet Users] Re: Test if stored config is enabled?

2010-09-20 Thread dom
> I've never tried, so I dont know if there's a righter way to do it. > You may be able to access the config information from a rvalue > function inside your manifest. Take a look at > Puppet.settings[:storeconfigs]. As I recall here are different > settings for different sections of your config th

[Puppet Users] Custom Fucntion not working (unknown)

2011-04-13 Thread Dom
ib/puppet/parser/functions/strSlice.rb' > Puppet::Parser::Functions.function(:getPackageName) => "function_getPackageName" So it seems to be fine on the puppetmaster, at least it find out my custom function. What did I miss to get it to work on the client? Thank you. Dom -- You r

[Puppet Users] Re: Custom Fucntion not working (unknown)

2011-04-14 Thread Dom
hould retrieve a package from the master and move it to /var/lib/ slackware-packages/ then we want to execute the slackware "installpkg" command to install our package. The getPackageName function only return the the name of the package without the ".tgz" extension. Thank you Dom O

[Puppet Users] Re: Class for transfering files from Server to Client

2012-09-03 Thread Dom
Hi Ajeet, Instead of using puppet for these steps, I would recommend the native package management for your operating system, then use puppet to distribute and maintain versions. For instance, RPM was designed to do all the things you require, as well as dealing with changes to the application

[Puppet Users] Re: Systems Provisioning

2012-09-16 Thread Dom
We're doing a simple combination of PXE boot, kickstart, and internal repos, which then hands off to puppet. We also use some rvc for vmware provisioning, which is mostly what happens in our environment. Not many people appear to be talking about razor