similar to: equivalent way to iterate through a hash

Displaying 20 results from an estimated 500 matches similar to: "equivalent way to iterate through a hash"

2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all, If you take a look at the service.rb file in the win32-service repository (the new one in the toplevel repository path), I''ve got this bit of code, which succeeds, but I can''t seem to unpack the data structure properly. Did I pack it wrong to begin with? I should know this but I''m spacing out. proc_status =
2013 Aug 28
3
Creating Windows services
Hello, Documentation mentions that Windows service resource provider "can start, stop, enable, and disable services". Is it possible to create (register) a service using this provider? I''m running stand-alone Puppet agent 3.4.2 on Windows. Thanks, Igor. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To
2014 Jun 18
15
[Bug 2246] New: PAM enhancements for OpenSSH server
https://bugzilla.mindrot.org/show_bug.cgi?id=2246 Bug ID: 2246 Summary: PAM enhancements for OpenSSH server Product: Portable OpenSSH Version: 6.6p1 Hardware: Sparc OS: Solaris Status: NEW Severity: enhancement Priority: P5 Component: PAM support Assignee: unassigned-bugs at
2011 Jun 20
13
confused about file ensure/require
my base/default includes this ntp manifest # cat modules/ntp/manifests/ntp.pp # ntp.pp class ntp { case $operatingsystem { centos, redhat: { $service_name = ''ntpd'' $conf_file = ''ntp.conf.el'' } debian, ubuntu: { $service_name = ''ntp'' $conf_file = ''ntp.conf.debian'' } } package {
2011 Aug 24
2
handy tip against unhelpful "Could not intern from pson" error
Not sure if people are already aware of this, but it might save someone some time in the future. I''ve been tracking down the following error today, it''s rather unhelpful in telling you where the problem is in your manifests: # puppetd --test info: Retrieving plugin err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could
2012 Jul 10
2
Refresh not working with launchd service provider?
Hi, Refresh doesn''t seem to be working with the launched service provider on OS X Lion (10.7.4). I''ve come up with a simple "service" script, plist file and puppet script to apply to demonstrate. The problem. Here''s the shell script which logs an initial starting message and then just loops logging a "Still running…" message.
2007 Nov 03
2
Service.services bug (pure Ruby version)
Hi all, I''ve hit a curious bug in the Service.services method. This is in the pure Ruby version in CVS. Check it out and run this snippet: Service.services{ |s| p s.service_name p s.display_name } That will segfault after about 14 entries for me. It appears to be a problem with memcpy on line 658, but I couldn''t tell you why. The interesting thing is that the more I
2012 Jul 26
2
class with multiple package resources does not install RPMs
Hi, I am able to install my RPM via this puppet code ... [root@agent1 ~]# puppet apply -v install_named_conf.pp info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb info: Loading
2012 Oct 15
2
Puppet not picking up files
Hi I largely copied the example in http://docs.puppetlabs.com/learning/modules1.html. But I''m getting an error when running the following from the client: puppet agent --server puppetmaster --waitforcert 60 --test err: /Stage[main]/Ntp/File[ntp.conf]: Could not evaluate: Could not retrieve information from environment production source(s) file:/etc/puppet/modules/ntp/files/ntp.conf
2015 Mar 24
2
how to add service at boot up
Hi there, I am used to traditional update-rc.d et all. Now I wonder how to add a a script that used to called by init.d (wit start/sop ..) to the new "service start xx" regime. All the tutorials I found talk about how to use update-rc.d.. thanks robert
2005 Dec 10
1
win32 service
Hi Ernest, I''m cc''ing the win32utils-devel mailing list in case anyone has any ideas. --- Ernest Ellingson <erne at powernav.com> wrote: > Daniel Berger wrote: > > >Hi Ernest, > > > >Me again. I just realized that it''s just a bug in > my > >documentation (duh). You can pass arguments to the > >Service.start method.
2012 Jun 15
3
Unsupported osfamily: Linux operatingsystem: Amazon
Hi all, just installed the puppetlabs-mysql module for puppet on my Puppet server which is an Amazon Linux (based on RedHat), but I get this error when I run puppet agent --test : *err: Could not retrieve catalog from remote server: Error 400 on SERVER: Unsupported osfamily: Linux operatingsystem: Amazon, module mysql only support osfamily RedHat and Debian at
2012 Apr 27
15
puppet way of handling rdist and triggers
We have an existing "management system" of sorts, based on rdist. I''d like to know the best way to migrate it to using puppet. Currently, we have a local binaries tree, rdisted out nightly. We also make use of rdist''s extra capability to trigger scripts when and if named files are updated. I''m not sure what the best method would be, of converting this to
2013 Jan 23
1
DPMA and Sending fake auth rejection for device
Greetings all, After a long day of fighting with GTalk and having it finally working, I wanted to setup DPMA on my Digium phone. So first of all, I had to reinstall it all and reconfigure it all, since it works only on certified versions, and my installation was not from the certified branch. It took a long time of recompiling, testing, adding missing stuff, but I got it straight. Now, I
2007 Dec 27
3
[ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
Bugs item #16648, was opened at 2007-12-27 13:58 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85 Category: win32-service Group: Code Status: Open Resolution: None Priority: 4 Submitted By: Daniel Berger (djberg96) Assigned to: Park Heesob (phasis68) Summary: Cannot find the file specified with Service.services Initial Comment:
2001 Oct 04
5
msdfs
Hello, Last week I submitted a problem with msdfs on samba. I didn't receive any reaction. I've also tried the samba-cvs version but this has also problems. We really like to use msdfs from samba, because we want to put all our homedirectories ( more than 4000 ) in one dfsroot. This is not possible with Microsoft's dfs because this has a limit of 1000 .... I didn't found this
2008 Sep 04
1
open_fake_file_shared: access_denied
Hi there, I have found following messages in log: open_fake_file_shared: access_denied to service[SERVICE_NAME] file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[USER_NAME] The messages appears in some computers' logs for more then just one user. It looks like computer dependent not user dependent. I don't know what exactly this message means and I don't understand where is the
2016 Jul 28
1
LXC containers - systemd takes a long time to start
I've got a CentOS7 server (fully patched) and in it I'm running several LXC containers. I've noticed that whenever I try to launch a service via `systemctl start <service_name>` soon after LXC boot, it will take ~5 minutes before the prompt returns. After that initial delay, starting/stopping/restarting services happens immediately. It might be that this happens because
2004 Jan 13
1
Winbind PAM authentication
Config: Solaris 8, OpenLDAP winbind backend, using AD for global users. Is there documentation on what service_name / module_type pairs are supported by pam_winbind? I've gone through the Samba-3 HOWTO book and internet searches, but haven't found anything difinitive. I have been able to tell through experimentation that winbind doesn't work with "rsh auth", giving a
2008 Jun 04
12
Mongrel as Windows service with normal privileges
I am trying to run Mongrel 1.1.5 with mongrel_service 0.3.4 on Ruby 1.8.6 with a "normal" user account, i.e. a user which belongs only to the Windows group "Users". The rationale behind this is that running a web server with full administrative rights (e.g. Local System) is not something that I would like to do. Unfortunately, starting the service from the services control