[Puppet Users] Re: inserting multiple entry in cron-job

2011-12-05 Thread Sans
Sorry to bump but I still didn't able to come up with any suitable work around this issue. Does any one have anything to say? Cheers, Sant -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@google

[Puppet Users] Re: How to import variables from another manifests/file??

2011-12-05 Thread Sans
Thanks Nigel! That works like a charm. But leaves me with one question and another problem. First the question: If I always need to specify the varable like "$zmfs::settings::l_dir", then waht the significance of the "include" statement (e.g. include zmfs::settings ) in the beginning of the manifes

[Puppet Users] Re: How to import variables from another manifests/file??

2011-12-05 Thread Sans
Sorry for the noise: using "cvmfs::settings::env_check" fixed that. Which makes me thinking again, what's the importance of the include statement if one always needs to use the fully qualified variable names. Cheers!! -- You received this message because you are subscribed to the Google Groups "

[Puppet Users] Re: inserting multiple entry in cron-job

2011-12-05 Thread jcbollinger
On Dec 5, 4:29 am, Sans wrote: > Sorry to bump but I still didn't able to come up  with any suitable > work around this issue. Does any one have anything to say? Is there some reason why you don't want to use the built-in Cron resource type? If you don't want to use Cron, then the usual gener

[Puppet Users] Re: inserting multiple entry in cron-job

2011-12-05 Thread Sans
Hi John, > > Is there some reason why you don't want to use the built-in Cron > resource type? > I'm not sure - can I create a cron-job in e.g. "/etc/cron.d/" with built in Cron resource type? I thought it was only for crontab. -S > If you don't want to use Cron, then the usual general-purpose

[Puppet Users] puppet kick problem: host is already running

2011-12-05 Thread Mario Lassnig
Hi, I’m managing several machines with a 2.7.6 master, and 2.7.1 and 2.7.6 mixed, not yet all fully upgraded clients. On the puppet master, I want to kick a node but it exits with error code 3, which doesn’t seem right. The agent seems to return the wrong message. :~$ puppet kick --trace --debu

Re: [Puppet Users] Re: How to import variables from another manifests/file??

2011-12-05 Thread Nigel Kersten
On Mon, Dec 5, 2011 at 3:31 AM, Sans wrote: > Thanks Nigel! That works like a charm. But leaves me with one question > and another problem. First the question: If I always need to specify > the varable like "$zmfs::settings::l_dir", then waht the significance > of the "include" statement (e.g. in

[Puppet Users] Errors using puppetlabs dashboard, passenger, and mysql modules from github

2011-12-05 Thread Justin Lloyd
I'm confused about certain Puppet parameterized class usage and scoping. The puppetlabs-dashboard module at githubstarts with the following: class dashboard::passenger ($dashboard_site, $dashboard_port) inherits

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread hai wu
I quote what Nigel mentioned before: "We'll have this ready within the next two Dashboard point releases." What's the state for this one (To report 'noop' mode puppet run)? Is this feature available in some dashboard release as of now? Thanks, Hai On 5/7/11, Nigel Kersten wrote: > On Fri, May

[Puppet Users] File dependency not found when specified in a "define"

2011-12-05 Thread Darin Perusich
Hello All, I'm working on an ssh module and using a "define" to specify "non-standard" sshd_config options via templates. I basically want to add additional entries to the AllowGroups, set or unset Subsystem options, etc. Whenever I run "puppet agent --test --noop" against this modules is fails w

Re: [Puppet Users] File dependency not found when specified in a "define"

2011-12-05 Thread Phillip Frost
On Dec 5, 2011, at 4:21 PM, Darin Perusich wrote: > Hello All, > > I'm working on an ssh module and using a "define" to specify "non-standard" > sshd_config options via templates. I basically want to add additional entries > to the AllowGroups, set or unset Subsystem options, etc. Whenever I r

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread Nigel Kersten
On Mon, Dec 5, 2011 at 1:01 PM, hai wu wrote: > I quote what Nigel mentioned before: > > "We'll have this ready within the next two Dashboard point releases." > > What's the state for this one (To report 'noop' mode puppet run)? Is > this feature available in some dashboard release as of now? >

[Puppet Users] Announce: Puppet-dashboard 1.2.4rc1 Available

2011-12-05 Thread Matthaus Litteken
This is a maintenance release candidate of Puppet Dashboard. This release resolves issues #6717, #7554, #9529, #10017, #10076, #11058, and #11063. More details below. This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages a

[Puppet Users] Announce: Puppet 2.6.13rc1 Available

2011-12-05 Thread Matthaus Litteken
This release is a maintenance release candidate of the 2.6.x series of Puppet. This release is available for download at: http://puppetlabs.com/downloads/puppet/puppet-2.6.13rc1.tar.gz See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Pu

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread hai wu
Great! Is there any API to use to retrieve these information from dashboard database, so that we could generate a nice report via email, with short and verbose versions for such report? Thanks, Hai On 12/5/11, Nigel Kersten wrote: > On Mon, Dec 5, 2011 at 1:01 PM, hai wu wrote: > >> I quote wha

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread Nigel Kersten
On Mon, Dec 5, 2011 at 4:49 PM, hai wu wrote: > Great! Is there any API to use to retrieve these information from > dashboard database, so that we could generate a nice report via email, > with short and verbose versions for such report? > No. You'd need to put together your own report processor

[Puppet Users] Unusual puppet template usecase? not sure if it works - appreciate help!

2011-12-05 Thread Vitthal Gogate
I have following erb template in my puppet module. The "value" itself is template expression e.g. <%= some_puppet_global_variable %>. I expect this value to be substituted and evaluated to finally have the value of "some_puppet_global_variable" substituted in the content. Pl. let me know how to

[Puppet Users] Re: Unusual puppet template usecase? not sure if it works - appreciate help!

2011-12-05 Thread Vitthal Gogate
bit more explaination on what I am trying and appreciate if some one can throw some light on how to get it working? I define bunch of global variables in puppet Site.pp and try generate the hadoop configuration file based on that using puppet template. We expect "value" in the config.erb template

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread John Warburton
n 6 December 2011 11:49, hai wu wrote: > Great! Is there any API to use to retrieve these information from > dashboard database, so that we could generate a nice report via email, > with short and verbose versions for such report? > > API? Unix text tools, perl, ruby, Excel - choose your poison a

[Puppet Users] Re: Chmoding files in directory with around 33000 files is slow

2011-12-05 Thread Evgeny
now I'm doing such stuff so exec { "chown -R jboss:jboss /some/dir": logoutput => "on_failure", } On Dec 2, 5:41 pm, Idar Borlaug wrote: > Hi > > Just wanted to know if anyhow has a great workaround for modifing user > and group in a folder with 33000 files. > It takes 5 minutes to chmod on

[Puppet Users] Fileserver configuration

2011-12-05 Thread Pavel Weber
|Hi, After many attempts we found that the value of path variable in the fileserver.conf has to end up with "files". Actually I didn't find any place where this is explicitly documented. Why it is important to have the "files" ending and not just arbitrary directory name? Another thing is "moun